Home
last modified time | relevance | path

Searched refs:kShape (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_shape_or_rank.cc28 if (!(op->type == OperatorType::kShape || op->type == OperatorType::kRank)) { in Run()
53 if (op->type == OperatorType::kShape) { in Run()
Dpropagate_array_data_types.cc78 case OperatorType::kShape: { in Run()
Dquantize.cc93 OperatorType::kShape, in SupportsQuantization()
/external/tensorflow/tensorflow/lite/kernels/
Dscatter_nd.cc32 constexpr int kShape = 2; variable
82 TF_LITE_ENSURE_OK(context, GetInputSafe(context, node, kShape, &shape)); in Prepare()
176 TF_LITE_ENSURE_OK(context, GetInputSafe(context, node, kShape, &shape)); in Eval()
/external/gemmlowp/public/
Dmap.h87 static constexpr VectorShape kShape = tShape; variable
116 static constexpr VectorShape kShape = tShape; variable
/external/skia/experimental/skrive/include/
DSkRive.h81 kShape, enumerator
259 Shape() : INHERITED(Type::kShape) {} in Shape()
280 if (t == Type::kShape ) return std::is_base_of<T, Shape >::value; in is_base_of()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_attr.cc47 case AttrValue::kShape: in ConvertNonFuncAttributeValue()
Dexport_utils.cc201 case AttrValue::kShape: in ConvertAttribute()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DVectorization.cpp544 ArrayRef<int64_t> kShape = kShapeType.getShape(); in matchAndRewrite() local
553 if (!mask[i] && (inShape[i] != 1 || kShape[i] != 1)) in matchAndRewrite()
556 if (mask[i] && inShape[i] != kShape[i]) in matchAndRewrite()
/external/tensorflow/tensorflow/lite/toco/
Dtensorflow_util.cc102 } else if (attr.second.value_case() == AttrValue::kShape) { in LogDumpGraphDef()
Dmodel.h127 kShape, enumerator
1397 TensorFlowShapeOperator() : Operator(OperatorType::kShape) {}
/external/tensorflow/tensorflow/core/framework/
Dattr_value_util.cc241 case AttrValue::kShape: in SummarizeAttrValue()
328 VALIDATE_FIELD(shape, "shape", kShape); in AttrValueHasType()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dop_version.cc180 {{OperatorType::kShape, 1}, "1.10.0"}, in GetMinimumRuntimeVersionForModel()
Doperator_test.cc545 SerializeAndDeserialize(GetOperator("SHAPE", OperatorType::kShape), op); in TEST_F()
/external/tensorflow/tensorflow/compiler/aot/
Dcodegen_test_h.golden402 static const ::xla::ProgramShapeProto* kShape = []() {
407 return kShape;
/external/tensorflow/tensorflow/python/framework/
Dop_def_util.cc351 case tensorflow::AttrValue::kShape: in AttrValueToPyObject()
/external/tensorflow/tensorflow/c/
Dkernels.cc300 SINGLE_CASE(kShape, TF_ATTR_SHAPE, in TF_OpKernelConstruction_GetAttrSize()
Dc_api.cc1251 SINGLE_CASE(kShape, TF_ATTR_SHAPE, in TF_OperationGetAttrMetadata()
1460 if (attr->value_case() != tensorflow::AttrValue::kShape) { in TF_OperationGetAttrTensorShapeProto()
/external/gemmlowp/internal/
Doutput.h324 const int pos = VectorType::kShape == VectorShape::Row ? col : row;
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc226 case AttrValue::kShape: in PrintAttrValue()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_mixed_precision_test.cc946 const Tensor kShape = test::AsTensor<int32>({32, 32}); in TEST_F() local
955 {{"shape"}, "Const", {}, {{"value", kShape}, {"dtype", DT_INT32}}}, in TEST_F()
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc1036 case tensorflow::AttrValue::kShape: { in SetOpAttrValueScalar()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc3955 const char kShape[] = "s"; variable
3998 absl::StrAppend(&result->str, kShape);
4053 absl::StrAppend(&result->str, kShape);
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.cc74 constexpr char kShape[] = "Shape"; variable
503 device_cost_impl_.emplace(kShape, in OpLevelCostEstimator()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_parser.cc333 kShape, enumerator
2109 attrs["outfeed_shape"] = {/*required=*/false, AttrTy::kShape, in ParseInstructionRhs()
3802 case AttrTy::kShape: { in ParseAttributeHelper()

12