Home
last modified time | relevance | path

Searched refs:tensor_content (Results 1 – 25 of 42) sorted by relevance

12

/external/tensorflow/tensorflow/lite/toco/
Dtensorflow_util.cc120 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()
Dimport_tensorflow.cc255 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent()
268 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent()
284 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent()
296 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent()
308 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent()
320 toco::port::CopyToBuffer(p.tensor_content(), in CopyFromContent()
332 std::vector<char> buf(p.tensor_content().size()); in CopyFromContent()
333 toco::port::CopyToBuffer(p.tensor_content(), buf.data()); in CopyFromContent()
334 for (int i = 0; i < p.tensor_content().size(); i++) { in CopyFromContent()
350 } else if (input_tensor.tensor_content().size() == in ImportTensorData()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dgraph-version-info.pbtxt56 tensor_content: "\350\251\242>\276\335r?"
81 tensor_content: "\315\221\342>\206\317\256>"
106 tensor_content: "\261OI?\224);>"
131 tensor_content: "\364\254\206>\034\266\037?"
Dconst-values.pbtxt74tensor_content: "\000\000\000\000\000\000\360?\000\000\000\000\000\000\000@\000\000\000\000\000\00…
103tensor_content: "\x00\x00\x80\x3F\x00\x00\x00\x40\x00\x00\x40\x40\x00\x00\x80\x40\x00\x00\xA0\x40\…
132tensor_content: "\x01\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\…
161tensor_content: "\x01\x00\x00\x00\x03\x00\x00\x00\x02\x00\x00\x00\x05\x00\x00\x00\x04\x00\x00\x00\…
Dgraph-empty-tensor-content.pbtxt3 # This test is intended to verify the tensor_content field on import of an empty
Dtf-data-pipeline.pbtxt27 tensor_content: "\000\000\000\000\001\000\000\000\002\000\000\000"
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.cc198 const int64 num_bytes = tensor->tensor_content().size(); in CompressTensorContent()
210 if (tensor->tensor_content()[prev_offset] != in CompressTensorContent()
211 tensor->tensor_content()[last_offset]) { in CompressTensorContent()
227 port::CopySubrangeToArray(tensor->tensor_content(), 0, in CompressTensorContent()
234 port::CopySubrangeToArray(tensor->tensor_content(), 0, in CompressTensorContent()
244 char c = tensor->tensor_content()[i]; in CompressTensorContent()
324 if (tensor->tensor_content().empty()) { in CompressTensorProtoInPlaceImpl()
Dtensor.proto38 bytes tensor_content = 4; field
Dtensor_util_test.cc576 EXPECT_FALSE(tensor_proto.tensor_content().empty()); in ConstantTailTest()
580 EXPECT_TRUE(tensor_proto.tensor_content().empty()); in ConstantTailTest()
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dresolve_svdf.cc86 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()
Dresolve_svdf_test.cc189 node->attr().at("value").tensor().tensor_content(), in TEST_F()
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_debug_server.py266 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)
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/debuginfo/
Dv1_1.0_224_frozen.wrong_attr.line.part.pbtxt62tensor_content: "\321K\0168\222\006\301\276\230J\032>L\344A7\205\214\251;\005\t2\275\3763\014\273/…
157tensor_content: "E\000\017?\025\245`?)L\201?\020Ed?#\016.?\331c\037?\327\024\246?\006v\236>Q\017w?…
200tensor_content: "\257\346\235\277K\257\033@\206\002\037=\217P\331\276\025\000\332?\200\341\022@\23…
243tensor_content: "\352\351C9\301\312?>\355\300Y>\361\347\020\267(\247G< \032\260\275\262\212\215<\2…
286tensor_content: "G\325\3074\"y\214?\036\014\235>V\316\3041@`b=\360\251\211>\202v6;\325\346\210?1x\…
Dv1_1.0_224_frozen.wrong_attr.stack.part.pbtxt65tensor_content: "\321K\0168\222\006\301\276\230J\032>L\344A7\205\214\251;\005\t2\275\3763\014\273/…
160tensor_content: "E\000\017?\025\245`?)L\201?\020Ed?#\016.?\331c\037?\327\024\246?\006v\236>Q\017w?…
203tensor_content: "\257\346\235\277K\257\033@\206\002\037=\217P\331\276\025\000\332?\200\341\022@\23…
246tensor_content: "\352\351C9\301\312?>\355\300Y>\361\347\020\267(\247G< \032\260\275\262\212\215<\2…
289tensor_content: "G\325\3074\"y\214?\036\014\235>V\316\3041@`b=\360\251\211>\202v6;\325\346\210?1x\…
/external/tensorflow/tensorflow/core/protobuf/
Dtransport_options.proto9 repeated bytes tensor_content = 1; field
Dnamed_tensor.proto23 // compact form in tensor.tensor_content.
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/end2end/
Dconv_2d.pbtxt60tensor_content: ";;\177<5\241i\275\312f\211>#\346j>\033W\325\275\253>\210=Vr\r\276\304\222\313\276…
162 tensor_content: "\315\314\314=\315\314\314="
Dconv_2d_nchw.pbtxt60tensor_content: ";;\177<5\241i\275\312f\211>#\346j>\033W\325\275\253>\210=Vr\r\276\304\222\313\276…
162 tensor_content: "\315\314\314=\315\314\314="
Dfake_quant_per_channel.pbtxt104tensor_content: "\217\245\177\301\005@d\276C\030x\276S\320\177\276.\227q\277\260]\223\276j\016\250…
147tensor_content: "\217\245\177A\005@d>C\030x>S\320\177>.\227q?\260]\223>j\016\250>\305\017\202>\200…
262tensor_content: "\324\202\223\276\337\210\375\275\351\212\374\275p@\346\275HD\364\275W\236\362\275…
422 tensor_content: "\001\000\000\000\377\377\377\377\037\000\000\000"
Dback2back_fake_quant.pbtxt52tensor_content: "n\267\313\276@W\337>\227o9>PF\237\275|%}\276\333n\005>\371\005\031?\230\355\235\2…
215tensor_content: "\000\000\000\000L\020\341=\355\223\242\276\000\000\000\000\000\000\000\000\223&<>…
490tensor_content: "\356x\007<\273\351H\275\2506\242\275\261t\332>\"O\'>m\"\010\276(\311b\275\301\233…
653tensor_content: "Y\226;>\002#==\315\253\207>\032t\021\276\2510O\273\354\026\001\276\000\000\000\00…
824tensor_content: "\217\017J?$\023*>\352\265\272\276\304|;\276\2178\277=\275\031\026\277J\017\304\27…
Dcontrol_flow_v1.pbtxt27 tensor_content: "\315\314\314=\315\314L>\232\231\231>\315\314\314>"
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/
Dsimple_tf_dialect_op.mlir23 // CHECK-NEXT: tensor_content: "\200\000\000\000\200\000\000\000"
Dsimple.mlir23 // CHECK-NEXT: tensor_content: "\200\000\000\000\200\000\000\000"
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcollective_rma_distributed.cc70 for (const auto& tensor_content_chunk : extra.tensor_content()) { in PopulateTensorFromExtra()
111 for (const auto& chunk : extra.tensor_content()) { in RecvFromPeer()
/external/tensorflow/tensorflow/compiler/jit/tests/
Dkeras_imagenet_main.pbtxt145 tensor_content: "\002\000\000\000\003\000\000\000"
676tensor_content: "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\…
824tensor_content: "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\003\000\000\000\…
849 tensor_content: "\000\000\000\000\003\000\000\000\001\000\000\000\002\000\000\000"
6767 tensor_content: "\000\000\000<"
10816 tensor_content: "\000\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000"
14077 tensor_content: "\320\314\314="
18068 tensor_content: "\000\000\000\000\001\000\000\000"
18093 tensor_content: "\000\000\000\000\001\000\000\000\002\000\000\000\003\000\000\000"
28937 tensor_content: "\007\000\000\000\007\000\000\000\003\000\000\000@\000\000\000"
[all …]

12