/external/tensorflow/tensorflow/lite/toco/ |
D | tensorflow_util.cc | 120 if (!tensor.tensor_content().empty()) { in LogDumpGraphDef() 122 tensor.tensor_content().size()); in LogDumpGraphDef() 125 CHECK_EQ(0, tensor.tensor_content().size() % sizeof(int32)); in LogDumpGraphDef() 126 const int size = tensor.tensor_content().size() / sizeof(int32); in LogDumpGraphDef() 128 toco::port::CopyToBuffer(tensor.tensor_content(), in LogDumpGraphDef() 141 CHECK_EQ(0, tensor.tensor_content().size() % sizeof(float)); in LogDumpGraphDef() 142 const int size = tensor.tensor_content().size() / sizeof(float); in LogDumpGraphDef() 144 toco::port::CopyToBuffer(tensor.tensor_content(), in LogDumpGraphDef()
|
D | import_tensorflow.cc | 250 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent() 263 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent() 279 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent() 291 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent() 303 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent() 315 std::vector<char> buf(p.tensor_content().size()); in CopyFromContent() 316 toco::port::CopyToBuffer(p.tensor_content(), buf.data()); in CopyFromContent() 317 for (int i = 0; i < p.tensor_content().size(); i++) { in CopyFromContent() 333 } else if (input_tensor.tensor_content().size() == in ImportTensorData() 355 input_tensor.tensor_content().size() / sizeof(T), ") nor ", in ImportTensorData()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_util.cc | 191 const int64 num_bytes = tensor->tensor_content().size(); in CompressTensorContent() 203 if (tensor->tensor_content()[prev_offset] != in CompressTensorContent() 204 tensor->tensor_content()[last_offset]) { in CompressTensorContent() 220 port::CopySubrangeToArray(tensor->tensor_content(), 0, in CompressTensorContent() 227 port::CopySubrangeToArray(tensor->tensor_content(), 0, in CompressTensorContent() 237 char c = tensor->tensor_content()[i]; in CompressTensorContent() 317 if (tensor->tensor_content().empty()) { in CompressTensorProtoInPlaceImpl()
|
D | tensor.proto | 36 bytes tensor_content = 4; field
|
D | tensor_util_test.cc | 561 EXPECT_FALSE(tensor_proto.tensor_content().empty()); in ConstantTailTest() 565 EXPECT_TRUE(tensor_proto.tensor_content().empty()); in ConstantTailTest()
|
D | tensor.cc | 867 if (!proto.tensor_content().empty()) { in FromProto() 868 const auto& content = proto.tensor_content(); in FromProto()
|
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/ |
D | resolve_svdf.cc | 86 tensor.tensor_content().size() / sizeof(int), 0); in InferFilterRank() 87 port::CopyToBuffer(tensor.tensor_content(), in InferFilterRank() 197 allocated_content_flat_size += tensor.tensor_content().size(); in MaybeMergeConstNodes() 220 port::CopyToBuffer(tensor.tensor_content(), content_ptr); in MaybeMergeConstNodes() 221 content_ptr += tensor.tensor_content().size(); in MaybeMergeConstNodes()
|
D | resolve_svdf_test.cc | 189 node->attr().at("value").tensor().tensor_content(), in TEST_F()
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | grpc_debug_server.py | 266 if value.tensor.tensor_content: 272 if value.tensor.tensor_content: 273 event.summary.value[0].tensor.tensor_content = b"".join( 274 chunk.tensor_content for chunk in chunks)
|
D | debug_data.py | 127 if tensor_proto.tensor_content or tensor_proto.string_val or not num_elements:
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | collective_rma_distributed.cc | 67 for (const auto& tensor_content_chunk : extra.tensor_content()) { in PopulateTensorFromExtra() 108 for (const auto& chunk : extra.tensor_content()) { in RecvFromPeer()
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | transport_options.proto | 7 repeated bytes tensor_content = 1; field
|
D | named_tensor.proto | 21 // compact form in tensor.tensor_content.
|
/external/tensorflow/tensorflow/core/grappler/costs/graph_properties_testdata/ |
D | large_function_graph.pbtxt | 76 tensor_content: "\001\000\000\000\001\000\000\000\030\000\000\000@\000\000\000" 131 tensor_content: "\200\000\000\000\340\000\000\000\340\000\000\000\003\000\000\000" 186 tensor_content: "\007\000\000\000\007\000\000\000\003\000\000\000\010\000\000\000"
|
/external/tensorflow/tensorflow/examples/tutorials/deepdream/ |
D | deepdream.ipynb | 243 …tensor_content: "<stripped 37632 bytes>"\\n }\\n }\\n }\\n}\\nnode {\\n name: … 279 " size = len(tensor.tensor_content)\n", 281 " tensor.tensor_content = tf.compat.as_bytes(\"<stripped %d bytes>\"%size)\n", 675 …tensor_content: "<stripped 900 bytes>"\\n }\\n }\\n }\\n}\\nnode {\\n name: &q…
|
/external/tensorflow/tensorflow/python/framework/testdata/ |
D | metrics_export_meta_graph.pb | 506 tensor_content: "\000\000\000\000\000\000\200?" 570 tensor_content: "ff\206\300\232\231\021A" 634 tensor_content: "\000\000\320@\000\000\000\000" 698 tensor_content: "\315\314L\300\000\000\200@" 1161 tensor_content: "\000\000\000\000\001\000\000\000"
|
/external/tensorflow/tensorflow/core/graph/ |
D | mkl_layout_pass.cc | 1132 const int* tensor_content = in CheckForTranspose() local 1133 reinterpret_cast<const int*>(proto->tensor_content().c_str()); in CheckForTranspose() 1135 proto->tensor_content().size() / type_size; in CheckForTranspose() 1137 std::vector<int> perm_value(tensor_content, in CheckForTranspose() 1138 tensor_content + tensor_content_size); in CheckForTranspose() 1143 const long* tensor_content = in CheckForTranspose() local 1144 reinterpret_cast<const long*>(proto->tensor_content().c_str()); in CheckForTranspose() 1146 proto->tensor_content().size() / type_size; in CheckForTranspose() 1148 std::vector<long> perm_value(tensor_content, in CheckForTranspose() 1149 tensor_content + tensor_content_size); in CheckForTranspose()
|
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_util.py | 539 tensor_proto.tensor_content = nparray.tostring() 601 if tensor.tensor_content: 602 return (np.frombuffer(tensor.tensor_content,
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | lstm_layer_inference.pbtxt | 23 tensor_content: "\000\010\000\000\000\020\000\000" 306 tensor_content: "\200\000\000\000\000\004\000\000" 533 tensor_content: "\200\000\000\000\001\000\000\000" 760 tensor_content: "\200\000\000\000\000\004\000\000" 987 tensor_content: "\200\000\000\000\001\000\000\000" 1214 tensor_content: "\200\000\000\000\000\004\000\000" 1441 tensor_content: "\200\000\000\000\001\000\000\000" 1668 tensor_content: "\200\000\000\000\000\004\000\000" 1895 tensor_content: "\200\000\000\000\001\000\000\000" 2122 tensor_content: "\200\000\000\000\000\004\000\000" [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/testdata/ |
D | graph.pbtxt | 430 tensor_content: "\003\000\000\000\003\000\000\000\003\000\000\000\006\000\000\000" 915 tensor_content: "\002\000\000\000\002\000\000\000\006\000\000\000\014\000\000\000"
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_remote_worker.cc | 145 for (const auto& chunk : extra.tensor_content()) { in RecvBufAsync()
|
D | grpc_session.cc | 79 if (proto != nullptr && proto->tensor_content().empty() && in ReEncodeConsts()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_io_utils.cc | 202 const size_t total_length = tensor_proto.tensor_content().size(); in WrapTensorAsEvents() 219 ->set_tensor_content(tensor_proto.tensor_content().substr(pos, len)); in WrapTensorAsEvents()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | op_level_cost_estimator_test.cc | 337 const std::vector<int64> values, const bool tensor_content, in GetTensorProto() argument 361 if (tensor_content) { in GetTensorProto()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | constant_folding.cc | 800 if (!input_tensor.tensor_content().empty()) { in MaterializeConstantValuedNode() 1143 encoded_size = t->tensor_content().size(); in CreateNodeDef()
|