Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for onStop (0.42 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

                      .Input(inputs)
                      .Attr("ids", ids)
                      .Attr("calibration_methods", calibration_methods)
                      .Finalize(node_def()));
      ASSERT_THAT(InitOp(),
                  StatusIs(tsl::error::INVALID_ARGUMENT,
                           HasSubstr("NodeDef missing attr 'output_file_path'")));
    }
    
    TEST_F(CalibrationStatisticsSaverTest, WrongNumInputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

          TransposeOp transpose = dyn_cast<TransposeOp>(user);
          if (!transpose) return;
    
          // With permutation defined by constant operation.
          ConstOp perm =
              dyn_cast_or_null<ConstOp>(transpose.getOperand(1).getDefiningOp());
          if (!perm) return;
    
          // With the same permutation indices.
          auto dense_elem_attr = mlir::dyn_cast<DenseElementsAttr>(perm.getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top