Home
last modified time | relevance | path

Searched refs:inference_context (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dtest_util.cc110 std::unique_ptr<InferenceContext> inference_context; in Invoke() local
112 runtime_options, &objects, command_queue.get(), &inference_context)); in Invoke()
113 RETURN_IF_ERROR(inference_context->Reset()); in Invoke()
116 RETURN_IF_ERROR(inference_context->Execute()); in Invoke()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc634 std::unique_ptr<InferenceContext> inference_context; member
649 auto* ic = inference_context.get(); in StringifyShapeHandle()
668 auto* ic = inference_context.get(); in DebugString()
743 return it->second.inference_context.get(); in GetContext()
773 auto* ic = ctx->inference_context.get(); in UpdateFunction()
869 auto* ic = ctx->inference_context.get(); in UpdateFunction()
970 InferenceContext* ic = ctx->inference_context.get(); in UpdateNode()
986 InferenceContext* src_ic = src_ctx->inference_context.get(); in UpdateNode()
1339 node_ctx.inference_context.reset(new InferenceContext( in AddNode()
1343 const Status s = node_ctx.inference_context->construction_status(); in AddNode()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/
DBUILD35 "//tensorflow/lite/delegates/gpu/cl:inference_context",
51 "//tensorflow/lite/delegates/gpu/cl:inference_context",
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle.cc545 shape_inference::InferenceContext* const inference_context, in InferenceShape() argument
555 dims_handle.push_back(inference_context->MakeDim(dims)); in InferenceShape()
557 *shape_handle = inference_context->MakeShape(dims_handle); in InferenceShape()
561 *shape_handle = inference_context->UnknownShape(); in InferenceShape()
567 dims_handle[i] = inference_context->MakeDim(inference_shape_.dim_size(i)); in InferenceShape()
569 *shape_handle = inference_context->MakeShape(dims_handle); in InferenceShape()
575 shape_inference::InferenceContext* const inference_context, in SetInferenceShape() argument
577 auto num_dims = inference_context->Rank(shape_handle); in SetInferenceShape()
586 dims[i] = inference_context->Value(inference_context->Dim(shape_handle, i)); in SetInferenceShape()
Dtensor_handle.h233 shape_inference::InferenceContext* const inference_context,
236 shape_inference::InferenceContext* const inference_context,
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
DBUILD143 name = "inference_context",
144 srcs = ["inference_context.cc"],
145 hdrs = ["inference_context.h"],
340 "//tensorflow/lite/delegates/gpu/metal:inference_context",
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dapi.h57 std::unique_ptr<InferenceContext>* inference_context) const = 0;
Dapi.cc248 std::unique_ptr<InferenceContext>* inference_context) const final { in NewRun()
271 *inference_context = absl::make_unique<InferenceContextWithBatchImpl>( in NewRun()
274 *inference_context = in NewRun()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
DBUILD32 ":inference_context",
379 name = "inference_context",
381 "inference_context.cc",
385 "inference_context.h",
/external/tensorflow/tensorflow/lite/delegates/gpu/
DBUILD102 "//tensorflow/lite/delegates/gpu/metal:inference_context",
Dmetal_delegate.mm45 #include "tensorflow/lite/delegates/gpu/metal/inference_context.h"