- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CreateStringAttr (0.42 sec)
-
tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.td
"CustomOptions($_builder.getContext(), $0.getDefiningOp()).value()">; class CreateStringAttr<string values> : NativeCodeCall< "$_builder.getStringAttr("# values #")">; def LegalizeTensorListReserve : Pat<(TF_TensorListReserveOp:$tf_op $shape, $num_elements), (TFL_CustomOp (Size2InputRange $shape, $num_elements), (CreateStringAttr<"\"TensorListReserve\"">), (CustomOptions $tf_op))>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 18 07:12:51 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.td
(TF_PartitionedCallOp (GetBatchFunctionOpArgOperands $src_op_res), $f, /*config=*/(CreateStringAttr<"">), /*config_proto=*/(CreateStringAttr<"">),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 18:58:35 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td
def ConvertAddToBiasAdd : Pat< (TF_AddV2Op (SupportedAffineOpMatcher $conv_out, $input, $weight), (TF_ConstOp:$add_rhs IsFloatElementsAttr:$add_rhs_value)), (TF_BiasAddOp $conv_out, $add_rhs, (CreateStringAttr<"NHWC">)), [(HasRankOf<1> $add_rhs_value), (HasEqualElementSize<[-1], [0]> $conv_out, $add_rhs)], [], (addBenefit -1)>; // Convert conv+sub+mul pattern to conv+mul+add.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:24:59 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td
// See the function doc in the header file. def GetPaddingArrayCeilMode: NativeCodeCall<"GetPaddingArrayCeilMode($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>())">; class CreateStringAttr<string values> : NativeCodeCall< "$_builder.getStringAttr("# values #")">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td
// Creates an I64 array attribute with given values. class CreateI64ArrayAttr<string values> : NativeCodeCall< "$_builder.getI64ArrayAttr("# values #")">; // Creates a string attribute with given values. class CreateStringAttr<string values> : NativeCodeCall< "$_builder.getStringAttr(\""# values #"\")">; // Creates a new F32 type with the same shape as the given value. def CloneTypeWithF32ElementType : NativeCodeCall<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 04:55:44 UTC 2024 - 6.7K bytes - Viewed (0)