Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Operands (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        new_types.back() = rewriter.getType<tf_executor::ControlType>();
    
        // Control operand is attached on tf_executor::IslandOp.
        llvm::SmallVector<Value> island_control_operands;
        llvm::SmallVector<Value> inner_op_operands;
    
        for (Value value : operands) {
          // Because of the property of graph region, the control operands may
          // not have been converted to tf_executor::ControlType.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    // GLOBL shifts<>(SB),$256
    func (p *Parser) asmGlobl(operands [][]lex.Token) {
    	if len(operands) != 2 && len(operands) != 3 {
    		p.errorf("expect two or three operands for GLOBL")
    		return
    	}
    
    	// Operand 0 has the general form foo<>+0x04(SB).
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("GLOBL", &nameAddr, false) {
    		return
    	}
    	next := 1
    
    	// Next operand is the optional flag, a literal integer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        index: the index in the resource array
      }];
    
      let arguments = (ins
        TFTensorType:$arg,
        I64Attr:$index
      );
    
      let results = (outs);
    
      let assemblyFormat = "operands attr-dict";
    }
    
    def GetResourceOp : TensorflowMlrt_Op<"get_resource", []> {
      let summary = "get a tensor in resource array";
    
      let description = [{
        Get a tensor in resource array.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/fmt/print.go

    }
    
    // Print formats using the default formats for its operands and writes to standard output.
    // Spaces are added between operands when neither is a string.
    // It returns the number of bytes written and any write error encountered.
    func Print(a ...any) (n int, err error) {
    	return Fprint(os.Stdout, a...)
    }
    
    // Sprint formats using the default formats for its operands and returns the resulting string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. src/crypto/internal/bigmod/nat.go

    	keep := not(choice(underflow)) | choice(always)
    	x.assign(keep, t)
    }
    
    // Sub computes x = x - y mod m.
    //
    // The length of both operands must be the same as the modulus. Both operands
    // must already be reduced modulo m.
    func (x *Nat) Sub(y *Nat, m *Modulus) *Nat {
    	underflow := x.sub(y)
    	// If the subtraction underflowed, add m.
    	t := NewNat().set(x)
    	t.add(m.nat)
    	x.assign(choice(underflow), t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

      rewriter.replaceAllUsesExcept(result, new_value, new_value.getDefiningOp());
    }
    
    // Wrap operands in an an unrealized cast to create a cast to buffer any type
    // changes to the operand, and apply type converter to operands:
    //   V0 = op(operand)
    //   ==>
    //   V0 = unrealized_cast(operand)
    //   V1 = op(V0)
    void WrapOperandsInUnrealizedCastAndConvert(Operation *op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/go/types/operand.go

    	cgofunc:   "cgo function",
    }
    
    // An operand represents an intermediate value during type checking.
    // Operands have an (addressing) mode, the expression evaluating to
    // the operand, the operand's type, a value for constants, and an id
    // for built-in functions.
    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr ast.Expr
    	typ  Type
    	val  constant.Value
    	id   builtinId
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/operand.go

    	cgofunc:   "cgo function",
    }
    
    // An operand represents an intermediate value during type checking.
    // Operands have an (addressing) mode, the expression evaluating to
    // the operand, the operand's type, a value for constants, and an id
    // for built-in functions.
    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr syntax.Expr
    	typ  Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

        // NOLINTNEXTLINE
        llvm::SmallVectorImpl<mlir::NamedAttribute> &attributes);
    
    // While the last several tensors could be optional tensors for an tfl op, the
    // number of input operands could vary. This function gets the min/max number of
    // operands from tflite op name.
    llvm::MinMax OperandNumbersMinMax(llvm::StringRef op_name);
    
    // Populates the `custom_code` and `custom_options` to attributes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

    }
    
    // If operand is TF const op, create MHLO constant op from the contents.
    // Otherwise convert the operand to the desired type.
    FailureOr<Value> CreateConstantOrConvertOp(Operation *op, Value operand,
                                               TensorType new_operand_type,
                                               PatternRewriter &rewriter) {
      // Check whether the rhs operand has constant op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top