We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 077266b commit 35faa7cCopy full SHA for 35faa7c
cpp/src/plasma/tensorflow_op/tf_plasma_op.cc
@@ -284,7 +284,7 @@ class TensorToPlasmaOp : public AsyncOpKernel {
284
for (int i = 0; i < num_tensors; ++i) {
285
const auto& input_tensor = context->input(i);
286
std::memcpy(static_cast<void*>(data + offsets[i] / byte_width),
287
- input_tensor.flat<float>().data(),
+ input_tensor.flat<tf_dtype::Type>().data(),
288
static_cast<uint64>(offsets[i + 1] - offsets[i]));
289
}
290
wrapped_callback();
0 commit comments