Home
last modified time | relevance | path

Searched refs:CheckAttrExists (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc420 TEST(CheckAttrExists, All) { in TEST() argument
426 TF_EXPECT_OK(CheckAttrExists(node, "apple")); in TEST()
427 TF_EXPECT_OK(CheckAttrExists(node, "pear")); in TEST()
435 Status status = CheckAttrExists(node, "banana"); in TEST()
Dutils.cc462 Status CheckAttrExists(const NodeDef& node, const string& key) { in CheckAttrExists() function
472 TF_RETURN_IF_ERROR(CheckAttrExists(node, key)); in CheckAttrsExist()
Dutils.h377 Status CheckAttrExists(const NodeDef& node, const string& key);
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc344 CheckAttrExists(*node, "value").ok() && in GetTensorFromConstNode()
1664 TF_RETURN_IF_ERROR(CheckAttrExists(node, "N")); in InitializeChains()
2329 TF_RETURN_IF_ERROR(CheckAttrExists(*weights, "dtype")); in TrySimplify()
3612 TF_RETURN_IF_ERROR(CheckAttrExists(*root, "T")); in TrySimplify()
3773 TF_RETURN_IF_ERROR(CheckAttrExists(*pack, "axis")); in CheckInputs()
3825 TF_RETURN_IF_ERROR(CheckAttrExists(*slice_begin, "value")); in GetSimpleSliceAxis()
3829 TF_RETURN_IF_ERROR(CheckAttrExists(*slice_size, "value")); in GetSimpleSliceAxis()
3937 TF_RETURN_IF_ERROR(CheckAttrExists(*slice_begin, "value")); in GetStridedSliceAxis()
3941 TF_RETURN_IF_ERROR(CheckAttrExists(*slice_end, "value")); in GetStridedSliceAxis()
3945 TF_RETURN_IF_ERROR(CheckAttrExists(*slice_strides, "value")); in GetStridedSliceAxis()
Dconstant_folding.cc388 CheckAttrExists(*node, "value").ok() && in GetTensorFromConstNode()
684 TF_RETURN_IF_ERROR(CheckAttrExists(node, "T")); in MaterializeBroadcastGradientArgs()
856 TF_RETURN_IF_ERROR(CheckAttrExists(*input_node, "value")); in MaterializeConstantValuedNode()
1362 TF_RETURN_IF_ERROR(CheckAttrExists(*input_node, "value")); in EvaluateOneFoldable()
2524 !CheckAttrExists(*output_idx_node, "value").ok()) { in SimplifyCase()
3023 TF_RETURN_IF_ERROR(CheckAttrExists(*node, "T")); in SimplifyArithmeticOperations()
3183 if (!CheckAttrExists(parent, "T").ok()) return false; in PrepareConstantPushDown()
3391 if (!CheckAttrExists(*node, "T").ok()) return false; in ConstantPushDown()