Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for emptyfunc (0.33 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(FunctionClusterTensorflowDialectTest, ClustersTfReplicatedBridge) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(RunFunctionTf2xlaClusteringBridge(
          *mlir_module_, /*is_supported_by_replicated_brige*/ true,
          /*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
    - 6.2K 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/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)
Back to top