- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for JoinPath (0.11 sec)
-
src/syscall/export_wasip1_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build wasip1 package syscall func JoinPath(dir, file string) string { return joinPath(dir, file)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 20:58:35 UTC 2023 - 267 bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_test.cc
void ValidateAssets(const string& export_dir, const SavedModelBundle& bundle) { const string asset_directory = io::JoinPath(export_dir, kSavedModelAssetsDirectory); const string asset_filename = "foo.txt"; const string asset_filepath = io::JoinPath(asset_directory, asset_filename); TF_EXPECT_OK(Env::Default()->FileExists(asset_filepath)); std::vector<Tensor> path_outputs; TF_ASSERT_OK(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc
void ValidateAssets(const string& export_dir, const SavedModelBundleLite& bundle) { const string asset_directory = io::JoinPath(export_dir, kSavedModelAssetsDirectory); const string asset_filename = "foo.txt"; const string asset_filepath = io::JoinPath(asset_directory, asset_filename); TF_EXPECT_OK(Env::Default()->FileExists(asset_filepath)); std::vector<Tensor> path_outputs; TF_ASSERT_OK(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 9.7K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_test.cc
const std::string export_dir = io::JoinPath( testing::TensorFlowSrcRoot(), "cc/saved_model/testdata", "bert1"); TF_ASSERT_OK_AND_ASSIGN(SavedModel saved_model_pb, ReadSavedModel(export_dir)); TF_ASSERT_OK_AND_ASSIGN(FingerprintDef fingerprint_def, CreateFingerprintDef(export_dir)); const std::string export_dir2 = io::JoinPath(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/cc/experimental/libexport/load.cc
tensorflow::StatusOr<TFPackage> TFPackage::Load(const std::string& path) { // Load the proto TFPackage tf_package; const string saved_model_pb_path = io::JoinPath(path, kSavedModelFilenamePb); const string saved_model_pbtxt_path = io::JoinPath(path, kSavedModelFilenamePbTxt); if (Env::Default()->FileExists(saved_model_pb_path).ok()) { TF_RETURN_IF_ERROR(ReadBinaryProto(Env::Default(), saved_model_pb_path,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 13 15:16:07 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc
tsl::io::JoinPath(test_dir_, "dump_0001_tensorflow::quantization::mlir_dump_test" "::NoOpPass_before.mlir"))); TF_EXPECT_OK(tsl::Env::Default()->FileExists( tsl::io::JoinPath(test_dir_, "dump_0002_Canonicalizer_before.mlir"))); TF_EXPECT_OK(tsl::Env::Default()->FileExists( tsl::io::JoinPath(test_dir_, "dump_0002_Canonicalizer_after.mlir")));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:17:14 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug_test.cc
} *dump_dir = tsl::io::JoinPath(path_, files[0]); return absl::OkStatus(); } std::string path_; mlir::MLIRContext context_; mlir::OwningOpRef<mlir::ModuleOp> module_; private: std::string GetOutputPath() { const auto* const test_info = testing::UnitTest::GetInstance()->current_test_info(); return tsl::io::JoinPath( getenv("TEST_UNDECLARED_OUTPUTS_DIR"),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 11:15:16 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/cc/saved_model/reader_test.cc
namespace { string TestDataPbTxt() { return io::JoinPath("tensorflow", "cc", "saved_model", "testdata", "half_plus_two_pbtxt", "00000123"); } string TestDataSharded() { return io::JoinPath("tensorflow", "cc", "saved_model", "testdata", "half_plus_two", "00000123"); } string ChunkedSavedModel() { return io::JoinPath("tensorflow", "cc", "saved_model", "testdata",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 17 21:17:08 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/cpp_generator_test.cc
Env *env = Env::Default(); string golden_dir = io::JoinPath(testing::TensorFlowSrcRoot(), controller_config.tf_output_dir); string generated_header = generator.HeaderFileContents().Render(); string generated_source = generator.SourceFileContents().Render(); string expected_header; string header_file_name = io::JoinPath(golden_dir, "testing_ops.h.golden");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 18 17:02:28 UTC 2022 - 2.9K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
field_tags_sub.Add()->set_field(6); EXPECT_THAT(fieldTagMatches(field_tags_sub, field_tags), IsOkAndHolds(4)); } TEST(FingerprintingTest, TestPruneChunkedMessageSingleTarget) { std::string cpb_file = io::JoinPath( TensorFlowSrcRoot(), "tools/proto_splitter/testdata", "many-field.cpb"); TF_ASSERT_OK_AND_ASSIGN(auto reader, GetRiegeliReader(cpb_file)); auto read_metadata = GetChunkMetadata(reader);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0)