- Sort Score
- Result 10 results
- Languages All
Results 21 - 23 of 23 for saved_model_path (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py
if FLAGS.save_model_path: save_model_path = FLAGS.save_model_path else: save_model_path = tempfile.mktemp(suffix='.saved_model') signature_def_map, init_op, assets_collection = create_signature() sess = tf.Session() sess.run(tf.initializers.global_variables()) builder = tf.saved_model.builder.SavedModelBuilder(save_model_path) builder.add_meta_graph_and_variables(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 20 13:19:26 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
#include "tensorflow/core/platform/tstring.h" namespace { 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); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils.cc
// Set the saved_model_checksum. TF_ASSIGN_OR_RETURN(uint64_t saved_model_hash, HashFields(chunk_metadata.message(), reader, chunks_info, {}, &saved_model)); saved_model_hash = FingerprintCat64( saved_model_hash, Fingerprint64(SerializeProto(saved_model))); fingerprint_def.set_saved_model_checksum(saved_model_hash); // Fill saved_model with only relevant chunk(s).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 20.2K bytes - Viewed (0)