- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 82 for joinData (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import.cc
return failure(); } std::string filename = filename_attr.getRawStringData()[0].str(); if (!saved_model_dir_.empty()) { filename = tensorflow::io::JoinPath( saved_model_dir_.str(), tensorflow::io::JoinPath("assets", tensorflow::io::Basename(filename))); } // Read the content of the file. std::string error_message;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 6.1K bytes - Viewed (0) -
pkg/test/prow/util.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug.cc
// reproducer will not be enabled. mlir::ReproducerStreamFactory GetReproducerStreamFactory( absl::string_view dump_dir) { std::string path = tsl::io::JoinPath(dump_dir, "tfl_mlir_crash_repro.mlir"); return [path = std::move(path)]( std::string& error) -> std::unique_ptr<mlir::ReproducerStream> { std::unique_ptr<tsl::WritableFile> file;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 10 02:44:52 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_chunked_test.cc
#include "tsl/platform/statusor.h" namespace tensorflow::saved_model::fingerprinting { namespace { TEST(FingerprintingTest, TestChunkedProto) { const std::string export_dir = io::JoinPath(testing::TensorFlowSrcRoot(), "cc/saved_model/testdata", "chunked_saved_model/chunked_model"); TF_ASSERT_OK_AND_ASSIGN(FingerprintDef fingerprint_pb, CreateFingerprintDef(export_dir));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build.go
// If OpenFile is nil, Import uses os.Open. OpenFile func(path string) (io.ReadCloser, error) } // joinPath calls ctxt.JoinPath (if not nil) or else filepath.Join. func (ctxt *Context) joinPath(elem ...string) string { if f := ctxt.JoinPath; f != nil { return f(elem...) } return filepath.Join(elem...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/bundle_v2.cc
const std::string variables_dir = io::JoinPath(export_dir, kSavedModelVariablesDirectory); if (!Env::Default()->FileExists(variables_dir).ok()) { LOG(INFO) << "No checkpoint found, assuming this is a program-only SavedModel"; } else { // Load the variables checkpoint reader. const std::string variables_prefix = io::JoinPath(variables_dir, kSavedModelVariablesFilename);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 18:28:37 UTC 2023 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph_test.cc
setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); UseMlirForGraphDump(MlirDumpConfig()); string ret = DumpGraphToFile("tir", graph); ASSERT_EQ(ret, io::JoinPath(testing::TmpDir(), "tir.mlir")); string actual; TF_ASSERT_OK(ReadFileToString(Env::Default(), ret, &actual)); } TEST(Dump, TextualIrWithOptions) { Graph graph(OpRegistry::Global()); Node* node;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_saved_model_assets.cc
builder.setInsertionPointToStart(&func.getBody().front()); std::string asset_filename = asset.getFilename().str(); std::string filename = tensorflow::io::JoinPath(saved_model_dir, asset_filename); ShapedType shaped_type = RankedTensorType::get({1}, TF::StringType::get(builder.getContext())); auto const_op = builder.create<TF::ConstOp>( asset.getLoc(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 30 01:12:09 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
using tensorflow::tstring; constexpr char kTestData[] = "cc/saved_model/testdata"; const char* kServeTag[] = {"serve"}; std::string SavedModelPath(tensorflow::StringPiece saved_model_dir) { return tensorflow::io::JoinPath(tensorflow::testing::TensorFlowSrcRoot(), kTestData, saved_model_dir); } // This value parameterized test allows us to test both TFRT // and non TFRT runtimes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0) -
src/syscall/fs_wasip1.go
} preopens = append(preopens, opendir{ fd: preopenFd, name: string(dirNameBuf[:prestat.dir.prNameLen]), }) } if cwd, _ = Getenv("PWD"); cwd != "" { cwd = joinPath("/", cwd) } else if len(preopens) > 0 { cwd = preopens[0].name } } // Provided by package runtime. func now() (sec int64, nsec int32) //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0)