- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 81 for exported_names (0.81 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/duplicate_method_names_v1.py
# CHECK: func {{@[a-zA-Z_0-9]+}}( # CHECK-SAME: {{.*}}) # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["key"] # CHECK: func {{@[a-zA-Z_0-9]+}}( # CHECK-SAME: {{.*}}) # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["key2"] def Test(): x = tf.constant(1.0, shape=(3, 3)) y = tf.constant(1.0, shape=(3, 3)) s = tf.transpose(x)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_lift_variables.mlir
attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf_saved_model.exported_names = ["serving_default"]} { %0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", device = "", shared_name = "dense/kernel"} : () -> tensor<!tf_type.resource<tensor<100x50xf32>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 05:47:26 UTC 2022 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/keras.py
# CHECK: attributes {{.*}} tf_saved_model.exported_names = ["my_predict"] @tf.function(input_signature=[ tf.TensorSpec([1, 28, 28, 1], tf.float32), ]) def my_predict(self, x): return self.model(x) if __name__ == '__main__':
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf_mlir_translate_main.cc
absl::StrSplit(saved_model_exported_names, ',', absl::SkipEmpty()); absl::Span<std::string> exported_names(exported_names_vector); if (import_saved_model_object_graph) { mlir::MLIRContext context; auto module_or = tensorflow::SavedModelObjectGraphToMlirImport( input_filename, tags, exported_names, &context); if (!module_or.status().ok()) return 1; module_or.value()->print(output->os());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/import_restore_v1.py
# CHECK: func @[[restore]]( # CHECK-SAME: [[variable_path:%.*]]: tensor<!tf_type.string> {tf_saved_model.bound_input = @[[sym_name]]} # CHECK-SAME: tf_saved_model.exported_names = ["{{__tf_saved_model_session_initializer.*}}"] # CHECK-SAME: tf_saved_model.initializer_type = "restore_op" # CHECK: [[v0:%.*]] = "tf.RestoreV2"([[variable_path]] # CHECK: [[v1:%.*]] = "tf.Identity"([[v0]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 2.8K bytes - Viewed (1) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_lift_variables_invalid_session.mlir
attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf_saved_model.exported_names = ["serving_default"]} { %0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", device = "", shared_name = "dense/kernel"} : () -> tensor<!tf_type.resource<tensor<100x50xf32>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 05:47:26 UTC 2022 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/shared_variable_v1.py
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_session_initializer_to_function.cc
module.getLoc(), name, FunctionType::get(module.getContext(), /*inputs=*/{}, /*results=*/{})); // Make savedmodel verification happy. init->setAttr("tf_saved_model.exported_names", builder.getStrArrayAttr({name})); builder.setInsertionPointToStart(init.addEntryBlock()); for (func::FuncOp func : tf_saved_model::GetInitializerFunctions(module)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 05:03:09 UTC 2023 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h
absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> SavedModelObjectGraphToMlirImport( absl::string_view saved_model_dir, const std::unordered_set<std::string>& tags, absl::Span<std::string> exported_names, mlir::MLIRContext* context, bool unconditionally_use_set_output_shapes = false); // Converts a TensorFlow V1 SavedModel stored in the directory with the given
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/mlir/mlir_transform.cc
->cast<mlir::MLIRContext*>(); // Load the saved model into MLIR TF dialect. absl::Span<std::string> exported_names(nullptr, 0); auto module_or = tensorflow::ConvertSavedModelToMlir(&bundle, context, exported_names); if (!module_or.status().ok()) { return None(); } // Make a module to wrap MLIR module and allow getting strings and running // transforms.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jul 12 16:28:19 UTC 2022 - 3K bytes - Viewed (0)