Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 318 for Builtin (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/go/types/sizeof_test.go

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

      // represented with -1.
      shape_signature:[int]; // Optional.
    }
    
    // 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: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/appends/appends.go

    	nodeFilter := []ast.Node{
    		(*ast.CallExpr)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		call := n.(*ast.CallExpr)
    		b, ok := typeutil.Callee(pass.TypesInfo, call).(*types.Builtin)
    		if ok && b.Name() == "append" && len(call.Args) == 1 {
    			pass.ReportRangef(call, "append with no values")
    		}
    	})
    
    	return nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top