- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mutable_tensor_shape (0.28 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
tensorflow::TensorProto repr = tfl::ConvertTfliteConstTensor(tensor, buffer); repr.clear_tensor_shape(); if (tfl::IsQuantized(tensor)) { repr.mutable_tensor_shape()->add_dim()->set_size(buffer.size()); repr.set_dtype(tensorflow::DT_INT8); } else { repr.mutable_tensor_shape()->add_dim()->set_size( buffer.size() / (shaped_type.getElementTypeBitWidth() / CHAR_BIT)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc
const TensorShapeProto& shape, Graph* graph_out) { DataType data_type = src_node->output_type(src_port); TensorProto dummy_proto; dummy_proto.set_dtype(data_type); *dummy_proto.mutable_tensor_shape() = shape; // Don't set any value field in the proto, since it is only going to be used // for shape inference. GraphDefBuilder::Options options(graph_out, /*status=*/nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0)