- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for set_tensor_content (0.22 sec)
-
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
ret.add_string_val(str.str, str.len); } return ret; } std::string content; content.assign(reinterpret_cast<const char*>(buffer.data()), buffer.size()); ret.set_tensor_content(content); return ret; } } // namespace TFL
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
using mlir::RankedTensorType; using mlir::ShapedType; using mlir::Type; using tensorflow::errors::InvalidArgument; static TensorProto ConvertToProto(const Tensor& input_tensor, bool use_tensor_content = true) { TensorProto tensor_proto; // Using tensor content (mostly*) reduces serialization overhead during RPC // calls, but is less human reader friendly. People reading protobufs are less
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0)