Home
last modified time | relevance | path

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

12

/external/tflite-support/tensorflow_lite_support/custom_ops/python/
Dtflite_text_api.py57 reduction_type=None, argument
87 if reduction_type is not tf_text.Reduction.STRING_JOIN:
92 if reduction_type is tf_text.Reduction.STRING_JOIN and axis != -1:
116 return tf_text.ngrams(ragged_tensor, width, axis, reduction_type,
123 return tf_text.ngrams(data, width, axis, reduction_type, string_separator,
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/
Dngrams_test.py78 input_tensor, width, reduction_type=tf_text.Reduction.STRING_JOIN)
94 input_tensor, width, reduction_type=tf_text.Reduction.STRING_JOIN)
114 input_tensor, 2, reduction_type=tf_text.Reduction.STRING_JOIN)
134 input_tensor, 3, reduction_type=tf_text.Reduction.STRING_JOIN)
153 input_tensor, 2, reduction_type=tf_text.Reduction.STRING_JOIN)
184 input_tensor, 3, reduction_type=tf_text.Reduction.STRING_JOIN)
Dngrams.cc59 std::string reduction_type; member
65 reduction_type(m["reduction_type"].ToString()), in NgramsAttributes()
87 TF_LITE_ENSURE(context, attributes.reduction_type == kStringJoin); in Prepare()
/external/tensorflow/tensorflow/core/kernels/
Dtyped_conditional_accumulator_base.h39 const string& reduction_type) in TypedConditionalAccumulatorBase() argument
40 : ConditionalAccumulatorBase(dtype, shape, name, reduction_type) {} in TypedConditionalAccumulatorBase()
Dconditional_accumulator.h56 const string& name, const string& reduction_type) in ConditionalAccumulator() argument
58 reduction_type) {} in ConditionalAccumulator()
Dconditional_accumulator_base.cc23 const string& reduction_type) in ConditionalAccumulatorBase() argument
27 reduction_type_(reduction_type) { in ConditionalAccumulatorBase()
Dconditional_accumulator_base.h55 const string& name, const string& reduction_type);
Dsparse_conditional_accumulator.h53 const string& name, const string& reduction_type) in SparseConditionalAccumulator() argument
56 dtype, shape, name, reduction_type) { in SparseConditionalAccumulator()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dtftext_utils.cc238 auto reduction_type = in CreateNgramsCustomOption() local
240 if (!reduction_type) { in CreateNgramsCustomOption()
246 std::string reduction_type_str(reduction_type.getValue().data(), in CreateNgramsCustomOption()
247 reduction_type.getValue().size()); in CreateNgramsCustomOption()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dreduction_ops_common.cc31 DataType reduction_type) in XlaReductionOp() argument
32 : XlaOpKernel(ctx), reduction_type_(reduction_type) { in XlaReductionOp()
Dreduction_ops.h36 XlaReductionOp(OpKernelConstruction* ctx, DataType reduction_type);
Dpooling_ops.cc44 const DataType reduction_type) in PoolingOp() argument
47 reduction_type_(reduction_type) { in PoolingOp()
445 auto reduction_type = XlaHelpers::SumAccumulationType(ctx->input_type(1)); in Compile() local
447 ctx, DataTypeToPrimitiveType(reduction_type, &xla_reduction_type)); in Compile()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DResourceConditionalAccumulator.pbtxt51 name: "reduction_type"
DConditionalAccumulator.pbtxt256 name: "reduction_type"
DSparseConditionalAccumulator.pbtxt256 name: "reduction_type"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DResourceConditionalAccumulator.pbtxt51 name: "reduction_type"
DConditionalAccumulator.pbtxt256 name: "reduction_type"
DSparseConditionalAccumulator.pbtxt256 name: "reduction_type"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-conditional-accumulator.pbtxt20 …argspec: "args=[\'self\', \'dtype\', \'shape\', \'shared_name\', \'name\', \'reduction_type\'], va…
Dtensorflow.-sparse-conditional-accumulator.pbtxt20 …argspec: "args=[\'self\', \'dtype\', \'shape\', \'shared_name\', \'name\', \'reduction_type\'], va…
Dtensorflow.sparse.-sparse-conditional-accumulator.pbtxt20 …argspec: "args=[\'self\', \'dtype\', \'shape\', \'shared_name\', \'name\', \'reduction_type\'], va…
/external/tensorflow/tensorflow/python/kernel_tests/
Dconditional_accumulator_test.py46 dtypes_lib.float32, name="Q", reduction_type="Invalid")
259 reduction_type="SUM")
287 reduction_type="Invalid")
340 reduction_type="SUM")
Dsparse_conditional_accumulator_test.py79 dtypes_lib.float32, name="Q", reduction_type="Invalid")
208 dtypes_lib.float32, name="Q", shape=(), reduction_type="SUM")
229 dtypes_lib.float32, name="Q", shape=(), reduction_type="Invalid")
315 reduction_type="SUM")
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_ops.py1335 reduction_type="MEAN"): argument
1351 reduction_type=reduction_type)
1437 reduction_type="MEAN"): argument
1443 reduction_type=reduction_type)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt833 …argspec: "args=[\'dtype\', \'shape\', \'container\', \'shared_name\', \'reduction_type\', \'name\'…
3613 …argspec: "args=[\'dtype\', \'shape\', \'container\', \'shared_name\', \'reduction_type\', \'name\'…
4269 …argspec: "args=[\'dtype\', \'shape\', \'container\', \'shared_name\', \'reduction_type\', \'name\'…

12