Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 370 for onStop (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          loc, mlir::RankedTensorType::get({}, getElementTypeOrSelf(shape)), shape,
          /*begin=*/
          builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({idx})),
          /*end=*/
          builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({idx + 1})),
          /*strides=*/
          builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({1})),
          /*begin_mask=*/0, /*end_mask=*/0, /*ellipsis_mask=*/0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.cc

      builder.setInsertionPointAfter(op);
      for (const auto& result_value : result_values) {
        results.push_back(builder.create<TF::ConstOp>(op->getLoc(), result_value));
      }
      return success();
    }
    
    bool IsOperationFoldable(Operation* op) {
      if (isa<TF::ConstOp>(op)) return true;
    
      if (op->getDialect()->getNamespace() != "tf" || !TF::CanBeFolded(op)) {
        return false;
      }
    
      // Check if the operands are foldable as well.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/regexp/syntax/prog.go

    type Prog struct {
    	Inst   []Inst
    	Start  int // index of start instruction
    	NumCap int // number of InstCapture insts in re
    }
    
    // An InstOp is an instruction opcode.
    type InstOp uint8
    
    const (
    	InstAlt InstOp = iota
    	InstAltMatch
    	InstCapture
    	InstEmptyWidth
    	InstMatch
    	InstFail
    	InstNop
    	InstRune
    	InstRune1
    	InstRuneAny
    	InstRuneAnyNotNL
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

    class QuantizeConstWeights : public OpRewritePattern<TF::ConstOp> {
     public:
      explicit QuantizeConstWeights(
          MLIRContext* context,
          const tensorflow::quantization::QuantizationOptions& quantization_options)
          : OpRewritePattern<TF::ConstOp>(context),
            quant_options_(quantization_options) {}
    
      LogicalResult matchAndRewrite(TF::ConstOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. src/encoding/json/scanner.go

    	s.parseState = s.parseState[0:0]
    	s.err = nil
    	s.endTop = false
    }
    
    // eof tells the scanner that the end of input has been reached.
    // It returns a scan status just as s.step does.
    func (s *scanner) eof() int {
    	if s.err != nil {
    		return scanError
    	}
    	if s.endTop {
    		return scanEnd
    	}
    	s.step(s, ' ')
    	if s.endTop {
    		return scanEnd
    	}
    	if s.err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/sink_constant.cc

          // defined above and sink these constants in the region body.
          // The sunk_constant map keeps a mapping from a ConstOp defined above to
          // a sunk clone of it. This allows for reusing a sunk constant with
          // multiple uses in the region.
          llvm::DenseMap<Value, TF::ConstOp> sunk_constant;
          Region &body = cluster.getBody();
          visitUsedValuesDefinedAbove(body, [&](OpOperand *use) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc

        Value step_size = rewriter.create<ConstOp>(loc, GetScalarOfType(u64, 256));
        Value increment =
            rewriter.create<MulOp>(loc, u64_scalar, step_size, rng_op.getDelta());
    
        // Increment the counter.
        SmallVector<Value, 4> pack_args;
        RankedTensorType word_u64_type = RankedTensorType::get({}, u64);
        Value zero_u64 = rewriter.create<ConstOp>(loc, GetScalarOfType(u64, 0));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  9. gradlew

    } >&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=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

      func.walk([&](Operation* op) {
        // TODO(renjieliu): Find a generic way to deal with const ops.
        if (op->hasTrait<OpTrait::IsTerminator>() ||
            llvm::isa<TFL::QConstOp, TFL::ConstOp>(op) ||
            llvm::isa<TFL::QConstOp, TFL::ConstOp, TF::ConstOp, ConstOp>(op))
          return;
    
        bool int8_type_observed = false;
        bool uint8_type_observed = false;
        for (auto& input : op->getOpOperands()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top