Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 287 for IOTA (0.08 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

          return false;
        }
      }
      return true;
    }
    
    // It returns "true" when Value $iota is obtained from the following mlir code:
    //
    // $iota = "mhlo.iota"(){iota_dimension = $dimensions[0]},
    //
    // where $dimensions must have size 1 and iota can have rank>=1.
    // It usually used for matching rank 1 iota since the iotaOp will be folded to
    // IotaOp + BroadCastInDimOp except for the case when result shape is rank 1.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/a.out.go

    const (
    	BIG = 2048 - 8
    )
    
    const (
    	/* mark flags */
    	LABEL = 1 << iota
    	LEAF
    	FLOAT
    	BRANCH
    	LOAD
    	FCMP
    	SYNC
    	LIST
    	FOLL
    	NOSCHED
    )
    
    const (
    	// optab is sorted based on the order of these constants
    	// and the first match is chosen.
    	// The more specific class needs to come earlier.
    	C_NONE   = iota + 1 // starting from 1, leave unclassified Addr's class as 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  3. src/cmd/doc/doc_test.go

    			`const ExportedTypedConstant ExportedType = iota`,              // Typed constant.
    			`const ExportedTypedConstant_unexported unexportedType`,        // Typed constant, exported for unexported type.
    			`const ConstLeft2 uint64 ...`,                                  // Typed constant using unexported iota.
    			`const ConstGroup1 unexportedType = iota ...`,                  // Typed constant using unexported type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  4. src/go/printer/testdata/comments.golden

    const c0 = 0	// zero
    const (
    	c1	= iota	// c1
    	c2		// c2
    )
    
    // Alignment of comments in declarations>
    const (
    	_	T	= iota	// comment
    	_			// comment
    	_			// comment
    	_	= iota + 10
    	_	// comments
    
    	_		= 10	// comment
    	_	T	= 20	// comment
    )
    
    const (
    	_____	= iota	// foo
    	_		// bar
    	_	= 0	// bal
    	_		// bat
    )
    
    const (
    	_	T	= iota	// comment
    	_			// comment
    	_			// comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  5. src/syscall/security_windows.go

    		}
    		if e != ERROR_INSUFFICIENT_BUFFER {
    			return "", e
    		}
    		if n <= uint32(len(b)) {
    			return "", e
    		}
    	}
    }
    
    const (
    	// do not reorder
    	NetSetupUnknownStatus = iota
    	NetSetupUnjoined
    	NetSetupWorkgroupName
    	NetSetupDomainName
    )
    
    type UserInfo10 struct {
    	Name       *uint16
    	Comment    *uint16
    	UsrComment *uint16
    	FullName   *uint16
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/decl.go

    func (check *Checker) constDecl(obj *Const, typ, init syntax.Expr, inherited bool) {
    	assert(obj.typ == nil)
    
    	// use the correct value of iota and errpos
    	defer func(iota constant.Value, errpos syntax.Pos) {
    		check.iota = iota
    		check.errpos = errpos
    	}(check.iota, check.errpos)
    	check.iota = obj.val
    	check.errpos = nopos
    
    	// provide valid constant value under all circumstances
    	obj.val = constant.MakeUnknown()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/go/printer/testdata/comments.input

    const c0 = 0  // zero
    const (
    	c1 = iota  // c1
    	c2  // c2
    )
    
    // Alignment of comments in declarations>
    const (
    	_ T = iota  // comment
    	_  // comment
    	_  // comment
    	_ = iota+10
    	_  // comments
    
    	_ = 10  // comment
    	_ T = 20  // comment
    )
    
    const (
    	_____ = iota // foo
    	_ // bar
    	_  = 0    // bal
    	_ // bat
    )
    
    const (
    	_ T = iota // comment
    	_ // comment
    	_ // comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/tfl_legalize_hlo.mlir

    func.func @convert_argmax(%arg0: tensor<4x32x256xf32>) -> (tensor<4x32xf32>, tensor<4x32xi32>) {
      %0 = mhlo.constant dense<0xFF800000> : tensor<f32>
      %1 = mhlo.constant dense<0> : tensor<i32>
      %2 = "mhlo.iota"() <{iota_dimension = 0 : i64}> : () -> tensor<256xi32>
      %3 = "mhlo.broadcast_in_dim"(%2) <{broadcast_dimensions = dense<2> : tensor<1xi64>}> : (tensor<256xi32>) -> tensor<4x32x256xi32>
      %4:2 = "mhlo.reduce"(%arg0, %3, %0, %1) ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  9. src/go/types/decl.go

    }
    
    func (check *Checker) constDecl(obj *Const, typ, init ast.Expr, inherited bool) {
    	assert(obj.typ == nil)
    
    	// use the correct value of iota
    	defer func(iota constant.Value, errpos positioner) {
    		check.iota = iota
    		check.errpos = errpos
    	}(check.iota, check.errpos)
    	check.iota = obj.val
    	check.errpos = nil
    
    	// provide valid constant value under all circumstances
    	obj.val = constant.MakeUnknown()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    
    namespace mlir {
    namespace odml {
    
    bool IsIotaAttr(ArrayRef<int64_t> arr, int64_t size) {
      if (arr.size() != size) return false;
      int64_t iota = 0;
      for (auto s : arr) {
        if (s != iota) return false;
        ++iota;
      }
      return true;
    }
    
    PermutationAndShape GetPermutationAndTransposedShape(
        llvm::ArrayRef<int64_t> permutation_array, ShapedType input_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top