Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for _func (0.08 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        func.return
      }
      func.func @empty_func() {
        func.return
      }
    }
    
    // -----
    
    // Tests `tf_device.cluster_func` with bad `num_cores_per_replicas` attribute.
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      func.func @bad_num_cores_per_replica() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          return %cluster : tensor<i32>
        }
        ```
    
        will be transformed into:
    
        ```mlir
        func @computation(%arg0: tensor<i32>) -> tensor<i32> {
          %cluster = "tf_device.cluster_func"(%arg0) {func = @_func} : (tensor<i32>) -> tensor<i32>
          return %cluster : tensor<i32>
        }
    
        func @_func(%arg0: tensor<i32>) -> tensor<i32> {
          %identity = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			f func(args ...int)
    		}
    	}{},
    		"struct { f func(...int) }",
    	},
    	{struct {
    		x (interface {
    			a(func(func(int) int) func(func(int)) int)
    			b()
    		})
    	}{},
    		"interface { reflect_test.a(func(func(int) int) func(func(int)) int); reflect_test.b() }",
    	},
    	{struct {
    		x struct {
    			int32
    			int64
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        llvm::StringRef name;
        mlir::func::FuncOp func;
      };
      llvm::SmallVector<NamedFunc, 8> named_funcs;
      llvm::SmallVector<mlir::func::FuncOp, 8> private_funcs;
      for (auto func : module.getOps<mlir::func::FuncOp>()) {
        auto exported_names = mlir::tf_saved_model::GetExportedNames(func);
        if (!exported_names.empty())
          named_funcs.push_back({exported_names.front(), func});
        else
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  5. pkg/apis/core/zz_generated.deepcopy.go

    func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSource) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource.
    func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSource) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource.
    func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

        // expected-remark@above {{ID: 4}}
        // expected-remark@above {{Predecessors: {3}}}
      }
      func.return
      // expected-remark@above {{ID: 6}}
      // expected-remark@above {{Sinks: {5}}}
    }
    
    func.func @func(%arg0: tensor<f32>) -> tensor<f32> {
      // expected-remark@above {{ID: 1}}
      func.return %arg0 : tensor<f32>
      // expected-remark@above {{ID: 0}}
      // expected-remark@above {{Sinks: {}}}
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1beta2/generated.pb.go

    }
    func (m *Subject) XXX_Merge(src proto.Message) {
    	xxx_messageInfo_Subject.Merge(m, src)
    }
    func (m *Subject) XXX_Size() int {
    	return m.Size()
    }
    func (m *Subject) XXX_DiscardUnknown() {
    	xxx_messageInfo_Subject.DiscardUnknown(m)
    }
    
    var xxx_messageInfo_Subject proto.InternalMessageInfo
    
    func (m *UserSubject) Reset()      { *m = UserSubject{} }
    func (*UserSubject) ProtoMessage() {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142K bytes
    - Viewed (0)
  9. src/database/sql/sql_test.go

    }
    
    var atomicRowsCloseHook atomic.Value // of func(*Rows, *error)
    
    func init() {
    	rowsCloseHook = func() func(*Rows, *error) {
    		fn, _ := atomicRowsCloseHook.Load().(func(*Rows, *error))
    		return fn
    	}
    }
    
    func setRowsCloseHook(fn func(*Rows, *error)) {
    	if fn == nil {
    		// Can't change an atomic.Value back to nil, so set it to this
    		// no-op func instead.
    		fn = func(*Rows, *error) {}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_control_test.go

    		return "Delete"
    	}
    	return "invalid"
    }
    
    func TestStatefulSetControl(t *testing.T) {
    	simpleSetFn := func() *apps.StatefulSet { return newStatefulSet(3) }
    	largeSetFn := func() *apps.StatefulSet { return newStatefulSet(5) }
    
    	testCases := []struct {
    		fn  func(*testing.T, *apps.StatefulSet, invariantFunc)
    		obj func() *apps.StatefulSet
    	}{
    		{CreatesPods, simpleSetFn},
    		{ScalesUp, simpleSetFn},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
Back to top