Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/c/experimental/saved_model/core/ops/
Dvariable_ops_test.cc33 ImmediateTensorHandlePtr CreateScalarTensorHandle(EagerContext* context, in CreateScalarTensorHandle()
36 ImmediateTensorHandlePtr handle(context->CreateLocalHandle(tensor.get())); in CreateScalarTensorHandle()
56 ImmediateTensorHandlePtr handle; in TEST_F()
66 ImmediateTensorHandlePtr handle; in TEST_F()
77 ImmediateTensorHandlePtr variable; in TEST_F()
83 ImmediateTensorHandlePtr my_value = CreateScalarTensorHandle(context(), 42.0); in TEST_F()
88 ImmediateTensorHandlePtr read_value_handle; in TEST_F()
Drestore_ops.cc37 ImmediateTensorHandlePtr* out) { in CreateStringScalarTensorHandle()
51 ImmediateTensorHandlePtr* out) { in CreateStringVectorTensorHandle()
71 ImmediateTensorHandlePtr* out) { in SingleRestore()
77 ImmediateTensorHandlePtr prefix_handle; in SingleRestore()
81 ImmediateTensorHandlePtr names_handle; in SingleRestore()
88 ImmediateTensorHandlePtr shapes_and_slices_handle; in SingleRestore()
Drestore_ops_test.cc63 ImmediateTensorHandlePtr x_handle; in TEST_F()
73 ImmediateTensorHandlePtr y_handle; in TEST_F()
83 ImmediateTensorHandlePtr z_handle; in TEST_F()
95 ImmediateTensorHandlePtr x_handle; in TEST_F()
103 ImmediateTensorHandlePtr x_handle; in TEST_F()
Dvariable_ops.h35 ImmediateTensorHandlePtr* handle);
51 DataType dtype, ImmediateTensorHandlePtr* output);
Dvariable_ops.cc41 ImmediateTensorHandlePtr* handle) { in CreateUninitializedResourceVariable()
87 DataType dtype, ImmediateTensorHandlePtr* output) { in ReadVariable()
Drestore_ops.h35 ImmediateTensorHandlePtr* out);
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dvariable.cc34 ImmediateTensorHandlePtr handle) in Variable()
63 Status Variable::ReadValue(ImmediateTensorHandlePtr* out) { in ReadValue()
72 ImmediateTensorHandlePtr handle; in CreateUninitialized()
91 ImmediateTensorHandlePtr handlePtr; in CreateUninitialized()
Dflat_tensor_function.cc36 const std::string& name, std::vector<ImmediateTensorHandlePtr> captures, in FlatTensorFunction()
53 std::vector<ImmediateTensorHandlePtr> owned_captures; in Create()
57 owned_captures.push_back(ImmediateTensorHandlePtr(capture)); in Create()
Dconstant.cc32 Constant::Constant(ImmediateTensorHandlePtr handle) in Constant()
42 output->reset(new Constant(ImmediateTensorHandlePtr(handle))); in Create()
Dtensorhandle_convertible.h30 explicit TensorHandleConvertible(ImmediateTensorHandlePtr handle) in TensorHandleConvertible()
44 ImmediateTensorHandlePtr handle_;
Dflat_tensor_function.h72 std::vector<ImmediateTensorHandlePtr> captures,
80 std::vector<ImmediateTensorHandlePtr> captures_;
Dasset.cc29 Asset::Asset(ImmediateTensorHandlePtr handle) in Asset()
44 ImmediateTensorHandlePtr handle(ctx->CreateLocalHandle(tensor.get())); in Create()
Dvariable.h53 Status ReadValue(ImmediateTensorHandlePtr* out);
63 absl::optional<std::string> name, ImmediateTensorHandlePtr handle);
Drestored_resource_revival_state.h33 ImmediateTensorHandlePtr resource_handle = nullptr;
Dconstant.h48 explicit Constant(ImmediateTensorHandlePtr handle);
Drestored_resource.h68 ImmediateTensorHandlePtr resource_handle);
Dasset.h43 explicit Asset(ImmediateTensorHandlePtr handle);
Drestored_resource.cc50 ImmediateTensorHandlePtr resource_handle) in RestoredResource()
Dpartially_revived_objects.cc421 ImmediateTensorHandlePtr result( in CreateAllResourceHandles()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dtest_utils.cc71 ImmediateTensorHandlePtr CreateTensorHandle(ImmediateExecutionContext* ctx, in CreateTensorHandle()
85 ImmediateTensorHandlePtr handle(ctx->CreateLocalHandle(tensor.get())); in CreateTensorHandle()
Dsaved_variable_loading_test.cc125 ImmediateTensorHandlePtr expected_handle = in TEST_P()
134 ImmediateTensorHandlePtr output_handle; in TEST_P()
Dtest_utils.h55 ImmediateTensorHandlePtr CreateTensorHandle(ImmediateExecutionContext* ctx,
Dtf_saved_model_api.cc153 ImmediateTensorHandlePtr restored_output; in RestoreCheckpoint()
/external/tensorflow/tensorflow/c/eager/
Dimmediate_execution_tensor_handle.h86 using ImmediateTensorHandlePtr = variable
/external/tensorflow/tensorflow/c/experimental/gradients/
Dnn_grad.cc82 ImmediateTensorHandlePtr dim(imm_ctx->CreateLocalHandle(minus_1.get())); in BroadcastMul()