Home
last modified time | relevance | path

Searched refs:AddTensor (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/lite/tools/
Dverifier_test.cc74 void AddTensor(const std::vector<int>& shape, tflite::TensorType type, in AddTensor() function in tflite::TfLiteFlatbufferModelBuilder
154 builder.AddTensor({2, 3}, TensorType_UINT8, {1, 2, 3, 4, 5, 6}, "input"); in TEST()
155 builder.AddTensor({}, TensorType_UINT8, {}, "empty_vector"); in TEST()
156 builder.AddTensor( in TEST()
160 builder.AddTensor({2, 3}, TensorType_INT32, {}, "output"); in TEST()
168 builder.AddTensor({2, 3}, TensorType_UINT8, {1, 2, 3, 4, 5, 6}, "input"); in TEST()
169 builder.AddTensor( in TEST()
173 builder.AddTensor({2, 3}, TensorType_INT32, {}, "output"); in TEST()
219 builder.AddTensor({2, 3}, TensorType_UINT8, {1, 2, 3, 4}, "input"); in TEST()
229 builder.AddTensor({2, 1}, TensorType_UINT8, {1, 2, 3, 4}, "input"); in TEST()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dsession_state.cc34 Status SessionState::AddTensor(const string& handle, const Tensor& tensor) { in AddTensor() function in tensorflow::SessionState
57 Status TensorStore::AddTensor(const string& name, const TensorAndKey& tk) { in AddTensor() function in tensorflow::TensorStore
78 TF_RETURN_IF_ERROR(session_state->AddTensor(key, it->second.tensor)); in SaveTensors()
/external/tensorflow/tensorflow/core/framework/
Dsession_state.h37 Status AddTensor(const string& handle, const Tensor& tensor);
71 Status AddTensor(const string& name, const TensorAndKey& tk);
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc54 id = AddTensor<float>(t, {}, is_variable); in AddInput()
67 int id = AddTensor<float>(t, {}); in AddOutput()
Dtest_util.h167 int id = AddTensor(TensorData{type, shape}, data); in AddConstInput()
381 int AddTensor(TensorData t, std::initializer_list<T> data,
/external/tensorflow/tensorflow/core/kernels/data/
Dsparse_tensor_slice_dataset_op.cc64 TF_RETURN_IF_ERROR(b->AddTensor(sparse_tensor_.indices(), &indices_node)); in AsGraphDefInternal()
66 TF_RETURN_IF_ERROR(b->AddTensor(sparse_tensor_.values(), &value_node)); in AsGraphDefInternal()
Dpadded_batch_dataset_op.cc181 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
189 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dtensor_dataset_op.cc85 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dtensor_slice_dataset_op.cc110 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dflat_map_dataset_op.cc103 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dfilter_dataset_op.cc145 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dparallel_map_dataset_op.cc156 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dmap_dataset_op.cc154 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dinterleave_dataset_op.cc129 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dscan_dataset_op.cc113 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
127 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dset_stats_aggregator_dataset_op.cc142 TF_RETURN_IF_ERROR(b->AddTensor(resource_handle_, &resource_handle_node)); in AsGraphDefInternal()
Dtake_while_dataset_op.cc148 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dthreadpool_dataset_op.cc182 TF_RETURN_IF_ERROR(b->AddTensor(resource_handle_, &resource_handle_node)); in AsGraphDefInternal()
Dparse_example_dataset_op.cc225 TF_RETURN_IF_ERROR(b->AddTensor(dense_default, &node)); in AsGraphDefInternal()
Dgroup_by_reducer_dataset_op.cc422 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in OtherArgumentsNodeAndType()
Dchoose_fastest_branch_dataset_op.cc271 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
Dgroup_by_window_dataset_op.cc507 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in OtherArgumentsNodeAndType()
Dcsv_dataset_op.cc189 TF_RETURN_IF_ERROR(b->AddTensor(t, &node)); in AsGraphDefInternal()
/external/tensorflow/tensorflow/core/kernels/
Dsession_ops.cc47 OP_REQUIRES_OK(ctx, ctx->tensor_store()->AddTensor(name(), tk)); in Compute()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc275 return AddTensor(tensor_index, hybrid_op, &augmented_inputs_); in AddTensorInput()
279 return AddTensor(tensor_index, /*hybrid_op=*/false, &augmented_outputs_); in AddTensorOutput()
404 TfLiteStatus AddTensor(int tensor_index, bool hybrid_op, in AddTensor() function in tflite::__anon03cbe2c10111::NNAPIOpBuilder

12