Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 128 for Builtin (0.11 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/adjust-layout.mlir

    // RUN: tf-opt -pass-pipeline='builtin.module(func.func(infeed-ops-xla-adjust-layout))' %s | FILECHECK_OPTS="" FileCheck %s
    
    func.func @infeed_dequeue_tuple() -> (tensor<1x8x4x4xi32>, tensor<1x100x1xf32>) {
      // CHECK: [[TOKEN:%.*]] = mhlo.create_token : !mhlo.token
      %0 = "mhlo.create_token"() : () -> !mhlo.token
    
      // CHECK:               [[INFEED:%.*]]:3 = "mhlo.infeed"([[TOKEN]]) <{
      // CHECK-SAME{LITERAL}:   infeed_config = "", layout = [[1, 3, 2, 0], [1, 2, 0]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 817 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/executor_island_materialize_const.mlir

    // RUN: tf-opt %s -pass-pipeline='builtin.module(func.func(canonicalize))' | FileCheck %s
    
    // Test that a constant stays inside an island after canonicalization
    
    // CHECK-LABEL: func @constant_in_island
    func.func @constant_in_island(%arg0 : tensor<i1>) -> tensor<f32> {
      %0 = tf_executor.graph {
    // CHECK: tf_executor.island
    // CHECK: tf.Const{{.*}}2.0
        %1:2 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 854 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h

    int8_t ConvertBuiltinCodeToDeprecatedBuiltinCode(
        const BuiltinOperator builtin_code);
    
    // The following methods are for backward compatibility for the early version
    // three, which does not have an extended builtin code.
    flatbuffers::Offset<OperatorCode> CreateOperatorCode(
        flatbuffers::FlatBufferBuilder &_fbb,
        BuiltinOperator builtin_code = BuiltinOperator_ADD,
        flatbuffers::Offset<flatbuffers::String> custom_code = 0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. 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)
Back to top