Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for emptyfunc (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/covdata/doc.go

    	$ go tool covdata pkglist -i=profiledir
    	cov-example/p
    	main
    	$
    
    3. Report percent statements covered by function:
    
    	$ go tool covdata func -i=profiledir
    	cov-example/p/p.go:12:		emptyFn			0.0%
    	cov-example/p/p.go:32:		Small			100.0%
    	cov-example/p/p.go:47:		Medium			90.9%
    	...
    	$
    
    4. Convert coverage data to legacy textual format:
    
    	$ go tool covdata textfmt -i=profiledir -o=cov.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top