Fix _rvalue key error
This commit is contained in:
parent
508d9d9acf
commit
f129244c26
1 changed files with 2 additions and 2 deletions
|
|
@ -503,7 +503,7 @@ export default {
|
||||||
_rtype: "ndarray",
|
_rtype: "ndarray",
|
||||||
_rdtype: "uint8",
|
_rdtype: "uint8",
|
||||||
_rshape: [imagesAsNdarrays.length, shape[0], shape[1], shape[2]],
|
_rshape: [imagesAsNdarrays.length, shape[0], shape[1], shape[2]],
|
||||||
_rdata: stackData.buffer
|
_rvalue: stackData.buffer
|
||||||
};
|
};
|
||||||
console.log(
|
console.log(
|
||||||
`Stack is ${transferredBytes} and will have shape: ${stackNdarray._rshape}`
|
`Stack is ${transferredBytes} and will have shape: ${stackNdarray._rshape}`
|
||||||
|
|
@ -545,7 +545,7 @@ export default {
|
||||||
_rtype: "ndarray",
|
_rtype: "ndarray",
|
||||||
_rdtype: "uint8",
|
_rdtype: "uint8",
|
||||||
_rshape: [imagesAsNdarrays.length, shape[0], shape[1], shape[2]],
|
_rshape: [imagesAsNdarrays.length, shape[0], shape[1], shape[2]],
|
||||||
_rdata: stackData
|
_rvalue: stackData
|
||||||
};
|
};
|
||||||
console.log(
|
console.log(
|
||||||
`Stack is ${transferredBytes} and will have shape: ${stackNdarray._rshape}`
|
`Stack is ${transferredBytes} and will have shape: ${stackNdarray._rshape}`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue