Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for index (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        Value index = std::get<0>(it);
    
        DenseIntElementsAttr index_attr;
        if (matchPattern(index, m_Constant(&index_attr))) {
          for (int32_t index : index_attr.getValues<int32_t>()) {
            if (index < 0)
              return op.emitOpError()
                     << "requires non-negative index values; found " << index;
            max_index = std::max(index, max_index);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. src/reflect/value.go

    }
    
    // FieldByIndex returns the nested field corresponding to index.
    // It panics if evaluation requires stepping through a nil
    // pointer or a field that is not a struct.
    func (v Value) FieldByIndex(index []int) Value {
    	if len(index) == 1 {
    		return v.Field(index[0])
    	}
    	v.mustBe(Struct)
    	for i, x := range index {
    		if i > 0 {
    			if v.Kind() == Pointer && v.typ().Elem().Kind() == abi.Struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. tests/integration/pilot/common/routing.go

    kind: VirtualService
    metadata:
      name: default
    spec:
      hosts:
      - {{ (index .dst 0).Config.Service }}
      http:
      - route:
        - destination:
            host: {{ (index .dst 0).Config.Service }}
          headers:
            request:
              set:
                Host: dest-authority
          weight: 50
        - destination:
            host: {{ (index .dst 0).Config.Service }}
          weight: 50
        headers:
          request:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

                unknown_index, dim.index()));
    
          unknown_index = dim.index();
        } else if (size == 0) {
          shape_ty_zero_dim = true;
        } else if (size > 0) {
          shape_ty_size *= size;
        } else {
          return error_handler(
              llvm::formatv("requires 'shape' to have dimensions greater than -1, "
                            "but got {0} at index {1}",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    type FunctionParam struct {
    	Index int
    }
    
    func (fp *FunctionParam) print(ps *printState) {
    	if fp.Index == 0 {
    		ps.writeString("this")
    	} else if ps.llvmStyle {
    		if fp.Index == 1 {
    			ps.writeString("fp")
    		} else {
    			fmt.Fprintf(&ps.buf, "fp%d", fp.Index-2)
    		}
    	} else {
    		fmt.Fprintf(&ps.buf, "{parm#%d}", fp.Index)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    <p>
    If <code>a</code> is not a map:
    </p>
    <ul>
    	<li>the index <code>x</code> must be of integer type or an untyped constant</li>
    	<li>a constant index must be non-negative and
    	    <a href="#Representability">representable</a> by a value of type <code>int</code></li>
    	<li>a constant index that is untyped is given type <code>int</code></li>
    	<li>the index <code>x</code> is <i>in range</i> if <code>0 &lt;= x &lt; len(a)</code>,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/debug/elf/elf.go

    	R_386_TLS_GD        R_386 = 18 /* 32 bit offset to GOT (index,off) pair */
    	R_386_TLS_LDM       R_386 = 19 /* 32 bit offset to GOT (index,zero) pair */
    	R_386_16            R_386 = 20
    	R_386_PC16          R_386 = 21
    	R_386_8             R_386 = 22
    	R_386_PC8           R_386 = 23
    	R_386_TLS_GD_32     R_386 = 24 /* 32 bit offset to GOT (index,off) pair */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/s390x/asmz.go

    	op_BRXH    uint32 = 0x8400 // FORMAT_RSI        BRANCH RELATIVE ON INDEX HIGH (32)
    	op_BRXHG   uint32 = 0xEC44 // FORMAT_RIE5       BRANCH RELATIVE ON INDEX HIGH (64)
    	op_BRXLE   uint32 = 0x8500 // FORMAT_RSI        BRANCH RELATIVE ON INDEX LOW OR EQ. (32)
    	op_BRXLG   uint32 = 0xEC45 // FORMAT_RIE5       BRANCH RELATIVE ON INDEX LOW OR EQ. (64)
    	op_BSA     uint32 = 0xB25A // FORMAT_RRE        BRANCH AND SET AUTHORITY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm9.go

    	case obj.TYPE_NONE:
    		return C_NONE
    
    	case obj.TYPE_REG:
    		return c.aclassreg(a.Reg)
    
    	case obj.TYPE_MEM:
    		if a.Index != 0 {
    			if a.Name != obj.NAME_NONE || a.Offset != 0 {
    				c.ctxt.Logf("Unexpected Instruction operand index %d offset %d class %d \n", a.Index, a.Offset, a.Class)
    
    			}
    			return C_XOREG
    		}
    		switch a.Name {
    		case obj.NAME_GOTREF, obj.NAME_TOCREF:
    			return C_ADDR
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        int64_t index = 0;
        for (int64_t s : slice_sizes.getValues<int64_t>()) {
          if (llvm::count(start_index_map, index)) {
            if (s != 1) {
              return rewriter.notifyMatchFailure(gather_op,
                                                 "unsupported slice sizes");
            }
          } else {
            if (s != operand_type.getShape()[index]) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top