Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for emptyfunc (0.17 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/BUILD

            "@local_tsl//tsl/platform:errors",
        ],
    )
    
    tf_cc_test(
        name = "cluster_tf_test",
        srcs = ["cluster_tf_test.cc"],
        data = [
            "testdata/empty_func.mlir",
            "testdata/invalid_executor.mlir",
            "testdata/multiple_submodules.mlir",
        ],
        deps = [
            ":cluster_tf",
            "//tensorflow/compiler/mlir:register_common_dialects",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(SessionClusterTensorflowDialectTest, ClustersTf) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(
          RunSessionTf2xlaClusteringBridge(*mlir_module_,
                                           /*is_in_fallback_enabled_mode=*/false));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_));
    
      EXPECT_EQ(compilation_status.Delta("success"), 1);
    }
    
    TEST_F(TensorflowDialectToExecutorTest, ErrorsWhenCannotConvert) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/internal/coverage/cformat/format.go

    				if fname != p.funcs[u.fnfid].fname {
    					// New function; emit entry for previous one.
    					if err := emitFunc(u); err != nil {
    						return err
    					}
    				}
    			}
    			tstmts += uint64(u.NxStmts)
    			count := p.unitTable[u]
    			if count != 0 {
    				cstmts += uint64(u.NxStmts)
    			}
    		}
    		if err := emitFunc(extcu{}); err != nil {
    			return err
    		}
    	}
    	if _, err := fmt.Fprintf(tabber, "%s\t%s\t%.1f%%\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) {
      CellReader<int64_t> compilation_status(kExportStreamzName);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_));
    
      EXPECT_EQ(compilation_status.Delta(kExportSuccess), 1);
      EXPECT_EQ(compilation_status.Delta(kExportFailed), 0);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    		for k := uint(0); k < atl; k++ {
    			if emit {
    				emitFunc(&dentries[idx], dcsites[idx], k, atl)
    			}
    			idx++
    		}
    		// now process any closures it contains
    		ncl := 0
    		for idx < nd {
    			nfn := dentries[idx].fname
    			if !clore.MatchString(nfn) {
    				break
    			}
    			ncl++
    			if emit {
    				emitFunc(&dentries[idx], dcsites[idx], 0, 1)
    			}
    			idx++
    		}
    		return idx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  10. 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