- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 165 for onStop (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc
// Returns a TF Constant tensor with the passed in values. TF::ConstOp GetI64ConstantTensor(PatternRewriter &rewriter, ArrayRef<int64_t> values, Location location) { auto cst_attr = rewriter.getI64TensorAttr(values); return rewriter.create<TF::ConstOp>(location, cst_attr.getType(), cst_attr); } // Rewrites broadcast->reshape to a reshape->broadcast that reduces
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
unique_func_name, original_point, result_type); return end_call_op; } QuantizedType CalculateUniformQuantParams( PatternRewriter& rewriter, TF::ConstOp op, tensorflow::quantization::QuantizationComponentSpec& weight_spec) { // TODO - b/278949920: Enable Per-Channel Quantization for XLA Opset // Currently, support symmetric, per-tensor, signed int8
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
Value CreateZeroInput(Location loc, OpBuilder& builder, Attribute zero_attr, DenseIntElementsAttr shape_attr) { ConstOp zero = builder.create<ConstOp>(loc, zero_attr); zero->setAttr(kICIWeightDistributionMlirBridgeMarker, builder.getBoolAttr(true)); ConstOp shape = builder.create<ConstOp>(loc, shape_attr); shape->setAttr(kICIWeightDistributionMlirBridgeMarker, builder.getBoolAttr(true));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
auto out_segids_cst = builder.create<TFL::ConstOp>( builder.getI32TensorAttr(flattened_out_segids)); auto contracting_segids_cst = builder.create<TFL::ConstOp>( builder.getI32TensorAttr(flattened_contracting_segids)); auto num_segids_tensor = builder.create<TFL::ConstOp>(DenseIntElementsAttr::get( RankedTensorType::get({}, builder.getIntegerType(32)), 1));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
} rewriter.replaceOp(op, new_results); return success(); } }; class TFConstOpQuantToIntPattern : public OpConversionPattern<TF::ConstOp> { public: using OpConversionPattern::OpConversionPattern; LogicalResult matchAndRewrite( TF::ConstOp op, TF::ConstOpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override { if (!IsIllegalType(op.getOutput().getType())) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
} >&2 # OS specific support (must be 'true' or 'false'). cygwin=false msys=false darwin=false nonstop=false case "\$( uname )" in #( CYGWIN* ) cygwin=true ;; #( Darwin* ) darwin=true ;; #( MSYS* | MINGW* ) msys=true ;; #( NONSTOP* ) nonstop=true ;; esac CLASSPATH=$classpath <% if ( mainClassName.startsWith('--module ') ) { %> MODULE_PATH=$modulePath
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 13:43:33 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
// CreateConstOpWithSingleValue. Also, make sure it works with QConst. return failure(); } auto zero_bias = rewriter.create<TFL::ConstOp>(op->getLoc(), bias_attr); op->setOperand(bias_idx, zero_bias); return success(); } TF::ConstOp PadConstValues(Operation* input_op, int value_to_pad, int pad_dimensions, Location loc, OpBuilder* builder) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
auto begin = rewriter.create<TF::ConstOp>(slice_op.getLoc(), slice_op.getStartIndices()); auto end = rewriter.create<TF::ConstOp>(slice_op.getLoc(), slice_op.getLimitIndices()); auto strides = rewriter.create<TF::ConstOp>(slice_op.getLoc(), slice_op.getStrides());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
} operand = 0; } ShapedType type; float ratio_threshold = kBlockOverRandomSparsityRatio; if (isa<ConstOp>(inst)) { supported_block_size = sparse_op.GetFloatBlockSize(); type = mlir::cast<ShapedType>(dyn_cast<ConstOp>(inst).getType()); } else if (isa<QConstOp>(inst)) { supported_block_size = sparse_op.GetQuantizedBlockSize();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
}]; let arguments = (ins StrAttr:$node_def, I32Attr:$op_key ); let assemblyFormat = "attr-dict"; } def ConstOp: TensorflowMlrt_Op<"constop", []> { let summary = "The tf_mlrt ConstOp"; let description = [{ The ConstOp creates a constant tensorflow::Tensor from serialized proto. }]; let arguments = (ins StrAttr:$tensor_proto ); let results = (outs
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0)