Home
last modified time | relevance | path

Searched refs:OpContext (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.h37 virtual Costs PredictCosts(const OpContext& op_context) const;
44 Costs PredictCostOfAnUnknownOp(const OpContext& op_context) const;
129 Costs PredictConv2D(const OpContext& op_context) const;
130 Costs PredictCwiseOp(const OpContext& op_context) const;
131 Costs PredictConv2DBackpropInput(const OpContext& op_context) const;
132 Costs PredictConv2DBackpropFilter(const OpContext& op_context) const;
133 Costs PredictFusedConv2DBiasActivation(const OpContext& op_context) const;
134 Costs PredictMatMul(const OpContext& op_context) const;
135 Costs PredictSparseTensorDenseMatMul(const OpContext& op_context) const;
136 Costs PredictNoOp(const OpContext& op_context) const;
[all …]
Dop_level_cost_estimator_test.cc76 OpContext DescribeMatMul(int m, int n, int l, int k) { in DescribeMatMul()
77 OpContext op_context; in DescribeMatMul()
111 OpContext DescribeBatchMatMul(const std::vector<int>& dims_a, in DescribeBatchMatMul()
113 OpContext op_context; in DescribeBatchMatMul()
123 OpContext DescribeSparseTensorDenseMatMul(const int nnz_a, in DescribeSparseTensorDenseMatMul()
126 OpContext op_context; in DescribeSparseTensorDenseMatMul()
161 OpContext DescribeConvolution(int batch, int ix, int iy, int iz1, int iz2, in DescribeConvolution()
163 OpContext op_context; in DescribeConvolution()
178 OpContext DescribeDepthwiseConv2dNative(int batch, int ix, int iy, int iz1, in DescribeDepthwiseConv2dNative()
180 OpContext op_context; in DescribeDepthwiseConv2dNative()
[all …]
Dop_level_cost_estimator.cc221 typedef Costs (OpLevelCostEstimator::*CostImpl)(const OpContext& op_context) in OpLevelCostEstimator()
223 auto wrap = [this](CostImpl impl) -> std::function<Costs(const OpContext&)> { in OpLevelCostEstimator()
224 return [this, impl](const OpContext& op_context) { in OpLevelCostEstimator()
373 Costs OpLevelCostEstimator::PredictCosts(const OpContext& op_context) const { in PredictCosts()
377 std::function<Costs(const OpContext&)> estimator = it->second; in PredictCosts()
448 Costs OpLevelCostEstimator::PredictCwiseOp(const OpContext& op_context) const { in PredictCwiseOp()
489 const OpContext& op_context) const { in PredictCostOfAnUnknownOp()
1100 Costs OpLevelCostEstimator::PredictConv2D(const OpContext& op_context) const { in PredictConv2D()
1111 const OpContext& op_context) const { in PredictConv2DBackpropInput()
1124 const OpContext& op_context) const { in PredictConv2DBackpropFilter()
[all …]
Dop_context.h27 struct OpContext { struct
33 OpContext() { function_library = nullptr; } in OpContext() argument
Danalytical_cost_estimator.cc39 void AddCostNode(ReadyNodeManager* node_manager, const OpContext& op_context, in AddCostNode()
166 OpContext op_context = scheduler_->GetCurrNode(); in PredictCosts()
Dvirtual_scheduler.cc618 OpContext VirtualScheduler::GetCurrNode() const { in GetCurrNode()
631 OpContext op_context; in GetCurrNode()
765 OpContext op_context = GetCurrNode(); in MarkCurrNodeExecuted()
Dvirtual_scheduler.h277 OpContext GetCurrNode() const;
Dvirtual_scheduler_test.cc1598 Costs SimplePredictCosts(const OpContext& op_context) const { in SimplePredictCosts()
1614 std::unordered_map<string, OpContext> RunScheduler( in RunScheduler()
1616 std::unordered_map<string, OpContext> ops_executed; in RunScheduler()
1619 OpContext op_context = scheduler_->GetCurrNode(); in RunScheduler()
/external/tensorflow/tensorflow/lite/kernels/
Dfake_quant.cc34 struct OpContext { struct
35 OpContext(TfLiteContext* context, TfLiteNode* node) { in OpContext() function
58 OpContext op_context(context, node); in Prepare()
66 OpContext op_context(context, node); in Eval()
Dmaximum_minimum.cc38 struct OpContext { struct
39 OpContext(TfLiteContext* context, TfLiteNode* node) { in OpContext() function
53 OpContext op_context(context, node); in Prepare()
88 const OpContext& op_context) { in TFLiteOperation()
101 OpContext op_context(context, node); in Eval()
Dreduce.cc48 struct OpContext { struct
49 OpContext(TfLiteContext* context, TfLiteNode* node) { in OpContext() argument
76 TfLiteStatus ResizeTempAxis(TfLiteContext* context, OpContext* op_context, in ResizeTempAxis()
84 TfLiteStatus ResizeTempSum(TfLiteContext* context, OpContext* op_context, in ResizeTempSum()
92 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, OpContext* op_context) { in ResizeOutputTensor()
161 OpContext* op_context) { in InitializeTemporaries()
211 OpContext op_context(context, node); in PrepareSimple()
240 OpContext op_context(context, node); in PrepareMeanOrSum()
271 OpContext op_context(context, node); in EvalMean()
402 OpContext* op_context, T init_value, in EvalLogic()
[all …]
Ddequantize.cc31 struct OpContext { struct
32 OpContext(TfLiteContext* context, TfLiteNode* node) { in OpContext() function
59 OpContext op_context(context, node); in Prepare()
76 OpContext op_context(context, node); in Eval()
Dsplit.cc30 struct OpContext { struct
31 OpContext(TfLiteContext* context, TfLiteNode* node) { in OpContext() function
74 OpContext op_context(context, node); in Prepare()
98 OpContext op_context(context, node); in Eval()
Dsplit_v.cc29 struct OpContext { struct
30 OpContext(TfLiteContext* context, TfLiteNode* node) { in OpContext() function
122 OpContext op_context(context, node); in Prepare()
150 OpContext op_context(context, node); in Eval()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dstatic_schedule.cc33 OpContext op_context; in PredictExecutionTime()