Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cfunc (0.62 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. 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)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	allowCreateOnUpdate      bool
    	allowUnconditionalUpdate bool
    }
    
    func (t *testRESTStrategy) NamespaceScoped() bool          { return t.namespaceScoped }
    func (t *testRESTStrategy) AllowCreateOnUpdate() bool      { return t.allowCreateOnUpdate }
    func (t *testRESTStrategy) AllowUnconditionalUpdate() bool { return t.allowUnconditionalUpdate }
    
    func (t *testRESTStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

          return;
        }
        memcpy(values[i], s.data(), s.size());
        p += s.size();
      }
    }
    
    #define DEFINE_GETATTR(func, c_type, cpp_type, list_field)                   \
      void func(TF_Operation* oper, const char* attr_name, c_type* value,        \
                TF_Status* status) {                                             \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. 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)
Back to top