Home
last modified time | relevance | path

Searched refs:shape_inference_fn (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dop_def_builder.h45 : op_def(def), shape_inference_fn(fn), is_function_op(is_function) {} in op_def()
48 OpShapeInferenceFn shape_inference_fn; member
Dshape_inference_testutil.cc67 if (op_reg_data->shape_inference_fn == nullptr) { in InferShapes()
73 TF_RETURN_IF_ERROR(c.Run(op_reg_data->shape_inference_fn)); in InferShapes()
Dop_def_builder.cc626 if (op_reg_data_.shape_inference_fn != nullptr) { in SetShapeFn()
630 op_reg_data_.shape_inference_fn = OpShapeInferenceFn(fn); in SetShapeFn()
Dop_def_builder_test.cc59 *shape_fn_out = op_reg_data.shape_inference_fn; in ExpectSuccess()
Dfunction_test.cc1006 ASSERT_NE(op_reg_data->shape_inference_fn, nullptr); in TEST()
/external/tensorflow/tensorflow/core/ops/
Dshape_function_test.cc29 EXPECT_TRUE(op_reg_data.shape_inference_fn != nullptr) in TEST()
Dtpu_embedding_ops.cc188 op_reg_data->shape_inference_fn = shape_inference_function; in RegisterPerTableLoadOpsForAlgorithmBody()
284 op_reg_data->shape_inference_fn = shape_inference_function; in RegisterPerTableRetrieveOpsForAlgorithmBody()
Dmath_ops_test.cc209 CHECK(op_reg_data->shape_inference_fn != nullptr); in TEST()
215 Status s = c->Run(op_reg_data->shape_inference_fn); in TEST()
Darray_ops_test.cc204 ASSERT_TRUE(op_reg_data->shape_inference_fn != nullptr); in TEST()
205 TF_ASSERT_OK(c.Run(op_reg_data->shape_inference_fn)); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner.cc247 if (op_reg_data->shape_inference_fn == nullptr && in AddNode()
401 if (op_reg_data->shape_inference_fn == nullptr && in UpdateNode()
408 if (!op_reg_data->shape_inference_fn) { in UpdateNode()
649 if (op_reg_data->shape_inference_fn) { in RunShapeFn()
650 TF_RETURN_IF_ERROR(c->Run(op_reg_data->shape_inference_fn)); in RunShapeFn()
/external/tensorflow/tensorflow/python/framework/
Dcpp_shape_inference.cc68 if (op_reg_data->shape_inference_fn == nullptr) { in RunCppShapeInferenceImpl()
133 TF_RETURN_IF_ERROR(c.Run(op_reg_data->shape_inference_fn)); in RunCppShapeInferenceImpl()
/external/tensorflow/tensorflow/python/grappler/
Dmodel_analyzer.cc86 } else if (!op_reg_data->shape_inference_fn) { in PrintNodeInfo()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc1582 if (!c->op_data || c->op_data->shape_inference_fn == nullptr) { in InferShapes()
1589 c->inference_context->Run(c->op_data->shape_inference_fn)); in InferShapes()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass.cc1883 if (op_reg_data->shape_inference_fn == nullptr) { in CopyShapeInferenceNodeToGraph()