Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 297 for Builtin (0.74 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/hashtable_resource.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck %s
    
    // CHECK: {
    // CHECK:  version: 3,
    // CHECK:  operator_codes: [ {
    // CHECK:    deprecated_builtin_code: 32,
    // CHECK:    custom_code: "HashTableV2",
    // CHECK:    builtin_code: CUSTOM
    // CHECK: } ],
    // CHECK: subgraphs: [ {
    // CHECK:   tensors: [ {
    // CHECK:     shape: [  ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

    // -----
    
    // CHECK-LABEL: func @init
    func.func @init(%arg0: tensor<4xf32>) -> tensor<7xf32> {
        %0 = builtin.unrealized_conversion_cast to tensor<7xf32>
        return %0 : tensor<7xf32>
    }
    
    // CHECK-LABEL: func @next
    func.func @next(%arg0: tensor<7xf32>, %arg1: tensor<3xf32>) -> tensor<6xf32> {
        %0 = builtin.unrealized_conversion_cast to tensor<6xf32>
        return %0 : tensor<6xf32>
    }
    
    // CHECK-LABEL: func @finalize
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/compile.go

    	{"generic deadcode", "check bce"},
    	// decompose builtin now also cleans up after expand calls
    	{"expand calls", "decompose builtin"},
    	// don't run optimization pass until we've decomposed builtin objects
    	{"decompose builtin", "late opt"},
    	// decompose builtin is the last pass that may introduce new float ops, so run softfloat after it
    	{"decompose builtin", "softfloat"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

      %0 = builtin.unrealized_conversion_cast to tensor<7xf32>
      return %0 : tensor<7xf32>
    }
    func.func @next(%arg0: tensor<7xf32>, %arg1: tensor<3xf32>) -> tensor<6xf32> {
      %0 = builtin.unrealized_conversion_cast to tensor<6xf32>
      return %0 : tensor<6xf32>
    }
    func.func @finalize(%arg0: tensor<6xf32>, %arg1: tensor<2xf32>) -> tensor<5xf32> {
      %0 = builtin.unrealized_conversion_cast to tensor<5xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/low_bit_packing.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck %s
    
    func.func @main() -> tensor<4xi4> {
      // CHECK: {
      // CHECK:   version: 3,
      // CHECK:   operator_codes: [  ],
      // CHECK:   subgraphs: [ {
      // CHECK:     tensors: [ {
      // CHECK:       shape: [ 4 ],
      // CHECK:       type: INT4,
      // CHECK:       buffer: 1,
      // CHECK:       name: "Const",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 12 20:13:51 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/type_attr.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck %s
    
    // CHECK: {
    // CHECK:   version: 3,
    // CHECK:   operator_codes: [ {
    // CHECK:     deprecated_builtin_code: 32,
    // CHECK:     custom_code: "SomeOperation",
    // CHECK:     builtin_code: CUSTOM
    // CHECK:   } ],
    // CHECK:   subgraphs: [ {
    // CHECK:     tensors: [ {
    // CHECK:       shape: [  ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    			typVal := info.Types[n.Fun]
    			switch {
    			case typVal.IsType():
    				// Type conversion, which is safe.
    			case typVal.IsBuiltin():
    				// Builtin func, conservatively assumed to not
    				// be safe for now.
    				safe = false
    				return false
    			default:
    				// A non-builtin func or method call.
    				// Conservatively assume that all of them have
    				// side effects for now.
    				safe = false
    				return false
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/object.go

    	return &Label{object{pos: pos, pkg: pkg, name: name, typ: Typ[Invalid], color_: black}, false}
    }
    
    // A Builtin represents a built-in function.
    // Builtins don't have a valid type.
    type Builtin struct {
    	object
    	id builtinId
    }
    
    func newBuiltin(id builtinId) *Builtin {
    	return &Builtin{object{name: predeclaredFuncs[id].name, typ: Typ[Invalid], color_: black}, id}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/sizeof_test.go

    		{TypeParam{}, 28, 48},
    		{term{}, 12, 24},
    
    		// Objects
    		{PkgName{}, 64, 104},
    		{Const{}, 64, 104},
    		{TypeName{}, 56, 88},
    		{Var{}, 64, 104},
    		{Func{}, 64, 104},
    		{Label{}, 60, 96},
    		{Builtin{}, 60, 96},
    		{Nil{}, 56, 88},
    
    		// Misc
    		{Scope{}, 60, 104},
    		{Package{}, 44, 88},
    		{_TypeSet{}, 28, 56},
    	}
    
    	for _, test := range tests {
    		got := reflect.TypeOf(test.val).Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 06 13:09:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/schema/schema.fbs

      // flexibility of supporting multiple subtypes in the future.
      variant_tensors:[VariantSubType];
    }
    
    // A list of builtin operators. Builtin operators are slightly faster than custom
    // ones, but not by much. Moreover, while custom operators accept an opaque
    // object containing configuration parameters, builtins have a predetermined
    // set of acceptable options.
    // LINT.IfChange
    enum BuiltinOperator : int32 {
      ADD = 0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top