HomeSort by relevance Sort by last modified time
    Searched refs:tensor_content (Results 1 - 16 of 16) sorted by null

  /external/tensorflow/tensorflow/contrib/lite/toco/
tensorflow_util.cc 120 if (!tensor.tensor_content().empty()) {
121 toco::port::AppendF(&dump, " tensor_content: %zu bytes\n",
122 tensor.tensor_content().size());
125 CHECK_EQ(0, tensor.tensor_content().size() % sizeof(int32));
126 const int size = tensor.tensor_content().size() / sizeof(int32);
128 toco::port::CopyToBuffer(tensor.tensor_content(),
131 dump.append(" tensor_content as ints: [ ");
141 CHECK_EQ(0, tensor.tensor_content().size() % sizeof(float));
142 const int size = tensor.tensor_content().size() / sizeof(float);
144 toco::port::CopyToBuffer(tensor.tensor_content(),
    [all...]
import_tensorflow.cc 187 } else if (input_tensor.tensor_content().size() ==
189 toco::port::CopyToBuffer(input_tensor.tensor_content(),
213 } else if (input_tensor.tensor_content().size() ==
215 toco::port::CopyToBuffer(input_tensor.tensor_content(),
239 } else if (input_tensor.tensor_content().size() ==
241 toco::port::CopyToBuffer(input_tensor.tensor_content(),
265 } else if (input_tensor.tensor_content().size() ==
267 toco::port::CopyToBuffer(input_tensor.tensor_content(),
    [all...]
  /external/tensorflow/tensorflow/contrib/lite/toco/tensorflow_graph_matching/
resolve_svdf.cc 86 tensor.tensor_content().size() / sizeof(int), 0);
87 port::CopyToBuffer(tensor.tensor_content(),
197 allocated_content_flat_size += tensor.tensor_content().size();
220 port::CopyToBuffer(tensor.tensor_content(), content_ptr);
221 content_ptr += tensor.tensor_content().size();
resolve_svdf_test.cc 189 node->attr().at("value").tensor().tensor_content(),
  /external/tensorflow/tensorflow/python/debug/lib/
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)
debug_data.py 126 if tensor_proto.tensor_content or tensor_proto.string_val or not num_elements:
    [all...]
  /external/tensorflow/tensorflow/python/framework/testdata/
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/python/framework/
tensor_util.py 359 "tensor_content" attribute, which is not directly useful to Python programs.
498 tensor_proto.tensor_content = nparray.tostring()
559 if tensor.tensor_content:
560 return (np.frombuffer(tensor.tensor_content, dtype=dtype).copy()
    [all...]
  /external/tensorflow/tensorflow/core/distributed_runtime/rpc/
grpc_session.cc 65 // tensor_content, which is slightly better (less copies and lower peak
76 if (proto != nullptr && proto->tensor_content().empty() &&
79 // it is moderate large, we re-encode it in tensor_content as
  /external/tensorflow/tensorflow/core/debug/
debug_io_utils.cc 191 // work with strings encoded by AsProtoTensorContent() in tensor_content.
199 const size_t total_length = tensor_proto.tensor_content().size();
216 ->set_tensor_content(tensor_proto.tensor_content().substr(pos, len));
    [all...]
  /external/tensorflow/tensorflow/core/framework/
tensor.cc 170 // "out", which is usually the TensorProto::tensor_content.
178 // usually the TensorProto::tensor_content.
207 // "out", which is usually the TensorProto::tensor_content.
215 // usually the TensorProto::tensor_content.
237 // "out", which is usually the TensorProto::tensor_content.
245 // usually the TensorProto::tensor_content.
462 // (tensor_content). This is used when we expect the TensorProto is
817 if (!proto.tensor_content().empty()) {
818 const auto& content = proto.tensor_content();
    [all...]
tensor_test.cc 150 // Make another copy via tensor_content field.
151 *proto.mutable_tensor_content() = proto.tensor_content();
    [all...]
  /external/tensorflow/tensorflow/core/grappler/optimizers/
arithmetic_optimizer.cc 112 // tensor_content.
129 const auto tensor_content_size = tensor.tensor_content().size();
135 port::CopyToArray(tensor.tensor_content(),
    [all...]
constant_folding.cc 104 // tensor_content.
115 const auto tensor_content_size = tensor.tensor_content().size();
119 port::CopyToArray(tensor.tensor_content(),
    [all...]
arithmetic_optimizer_test.cc 288 new_const.attr().at("value").tensor().tensor_content());
322 new_const.attr().at("value").tensor().tensor_content());
    [all...]
  /external/tensorflow/tensorflow/contrib/tensorrt/convert/
convert_nodes.cc     [all...]

Completed in 691 milliseconds