Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for emptyfunc (0.19 sec)

  1. src/internal/coverage/encodemeta/encode.go

    	for idx := 0; idx < nFuncs; idx++ {
    		b.wrUint32(w, uint32(foff))
    		foff += int64(len(b.funcs[idx].encoded))
    	}
    	return off + (int64(len(b.funcs)) * 4)
    }
    
    func (b *CoverageMetaDataBuilder) emitFunc(w io.WriteSeeker, off int64, f funcDesc) (int64, error) {
    	ew := len(f.encoded)
    	if nw, err := w.Write(f.encoded); err != nil {
    		return 0, err
    	} else if ew != nw {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/BUILD

        ],
    )
    
    tf_cc_test(
        name = "lower_cluster_to_runtime_ops_test",
        srcs = ["lower_cluster_to_runtime_ops_test.cc"],
        data = [
            "testdata/basic_cluster.mlir",
            "testdata/empty_func.mlir",
            "testdata/malformed_cluster.mlir",
        ],
        deps = [
            ":lower_cluster_to_runtime_ops",
            "//tensorflow/compiler/mlir:register_common_dialects",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    
      Env* env_;
      std::string test_dir_;
      std::string test_group_name_;
    };
    
    TEST_F(LowerClusterToRuntimeOpsTest, SanityCheck) {
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(RunLowerClusterToRuntimeOpsPassPipeline(
          *mlir_module_, DeviceType(DEVICE_TPU_XLA_JIT)));
    }
    
    TEST_F(LowerClusterToRuntimeOpsTest, LowersClusterOpsTPU) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

    func.func @check_sharding_attrs_exists_for_empty_cluster_func() {
      "tf_device.cluster_func"() {func = @empty_func, step_marker_location = "", num_cores_per_replica = 1 : i64} : () -> ()
      // CHECK: input_sharding_configuration = []
      // CHECK: output_sharding_configuration = []
      func.return
    }
    
    // CHECK-LABEL: func @empty_func() {
    func.func @empty_func() {
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top