Home
last modified time | relevance | path

Searched refs:shape_string (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/hexagon/
Dhexagon_rewriter_transform.cc54 string shape_string; in RewriteQuantizedStrippedModelForHexagon() local
56 INPUT_SHAPE_PREFIX + std::to_string(i), "", &shape_string)); in RewriteQuantizedStrippedModelForHexagon()
58 CHECK(str_util::SplitAndParseAsInts(shape_string, ',', &dims)); in RewriteQuantizedStrippedModelForHexagon()
69 << ", shape = " << shape_string in RewriteQuantizedStrippedModelForHexagon()
/external/tensorflow/tensorflow/compiler/xla/
Dtext_literal_reader.cc63 string shape_string; in ReadAllLines() local
64 Status s = buf.ReadLine(&shape_string); in ReadAllLines()
69 absl::StripAsciiWhitespace(&shape_string); in ReadAllLines()
70 TF_ASSIGN_OR_RETURN(Shape shape, ParseShape(shape_string)); in ReadAllLines()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dstrip_unused_nodes.cc88 const string& shape_string = context.params.at("shape")[0]; in ShapeForPlaceholder() local
89 TF_RETURN_IF_ERROR(TensorShapeFromString(shape_string, result)); in ShapeForPlaceholder()
106 const string& shape_string = context.params.at("shape_for_name")[i]; in ShapeForPlaceholder() local
107 TF_RETURN_IF_ERROR(TensorShapeFromString(shape_string, result)); in ShapeForPlaceholder()
Dtransform_utils.cc595 Status TensorShapeFromString(const string& shape_string, TensorShape* result) { in TensorShapeFromString() argument
596 if (shape_string.empty()) { in TensorShapeFromString()
600 if (!str_util::SplitAndParseAsInts(shape_string, ',', &dims)) { in TensorShapeFromString()
601 return errors::InvalidArgument("Could parse as shape: '", shape_string, in TensorShapeFromString()
Dtransform_utils.h137 Status TensorShapeFromString(const string& shape_string, TensorShape* result);
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cse.cc68 string shape_string = shape.ShortDebugString(); in CombineConstants() local
71 auto range = constants.equal_range(shape_string); in CombineConstants()
81 constants.emplace(shape_string, instruction); in CombineConstants()
Dshape_inference.cc2532 auto shape_string = [&]() { in InferWhileShape() local
2541 shape_string()); in InferWhileShape()
2549 shape_string()); in InferWhileShape()
2579 auto shape_string = [&]() { in InferConditionalShape() local
2587 j, j, shape_string()); in InferConditionalShape()
2592 auto shape_string = [&]() { in InferConditionalShape() local
2601 j, shape_string()); in InferConditionalShape()