- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for init_ops (0.1 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc
ModuleOp module = getOperation(); if (!HasTfSavedModelSemantics(module)) { return; } auto init_op = GetSessionInitializerOp(module); if (init_op == nullptr || init_op.getInitializers().empty()) { return; } SymbolTable symbol_table(module); for (auto initializer : init_op.getInitializers()) { auto func = symbol_table.lookup<func::FuncOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/mnist/BUILD
], licenses = ["notice"], ) package_group( name = "friends", packages = [ "//tensorflow/compiler/mlir/tfr/...", ], ) gen_op_libraries( name = "mnist_ops", src = "ops_defs.py", deps = [ "//tensorflow:tensorflow_py", "//tensorflow/python/framework:ops", "//tensorflow/python/ops:math_ops", "//tensorflow/python/ops:math_ops_gen",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 24 11:50:40 UTC 2023 - 3K bytes - Viewed (0) -
src/math/big/calibrate_test.go
fmt.Printf("words = %3d deltaT = %10s (%4d%%) is %s better: %v", i, delta, percent, upper, pos) if i == from { initPos = pos } if threshold == 0 && pos != initPos { threshold = i fmt.Printf(" threshold found") } fmt.Println() } if threshold != 0 { fmt.Printf("Found threshold = %d between %d - %d\n", threshold, from, to) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_v1.py
# CHECK: "tf_saved_model.global_tensor"() # CHECK: "tf_saved_model.session_initializer"() <{initializers = [@[[init:.*]]]}> : () -> () # CHECK: func @[[init]] # CHECK-SAME: tf_saved_model.initializer_type = "init_op" # CHECK-NEXT: [[R6:%.*]] = "tf.Const"() # CHECK-NEXT: [[R5:%.*]] = "tf.Const"() <{value = dense<[1, 2, # CHECK-NEXT: [[R7:%.*]] = "tf.HashTableV2"() # CHECK-SAME: shared_name = "[[hash_table:.*]]"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader_util.cc
namespace tensorflow { namespace internal { // A SavedModel may store the name of the initialization op to run in the // in the SignatureDef (v2) or a collection (v1). If an init_op collection // exists, then the collection must contain exactly one op. Status GetInitOp(const string& export_dir, const MetaGraphDef& meta_graph_def, string* init_op_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 10 10:25:28 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_asset_v1.py
# CHECK-SAME: [[ARG0:%.*]]: tensor<!tf_type.string> {tf_saved_model.bound_input = @[[asset0]]} # CHECK-SAME: [[ARG1:%.*]]: tensor<!tf_type.string> {tf_saved_model.bound_input = @[[asset1]]} # CHECK-SAME: tf_saved_model.initializer_type = "init_op" # CHECK-NEXT: [[R0:%.*]] = "tf.HashTableV2"() # CHECK-SAME: shared_name = "[[hash_table:.*]]" # CHECK-NEXT: "tf.InitializeTableFromTextFileV2"([[R0]], [[ARG0]]) def write_vocabulary_file(vocabulary):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/include_variables_in_init_v1.py
# CHECK-SAME: tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init"] # CHECK-SAME: tf_saved_model.initializer_type = "init_op" # CHECK-SAME: } # CHECK-DAG: %[[CST_0:.*]] = "tf.Const"() <{{{.*dense<.*> : tensor<2xi32>.*}}}> {{{.*}}} : () -> tensor<2xi32> # CHECK: %[[RAND_STD_NORMAL:.*]] = "tf.RandomStandardNormal"(%[[CST_0]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir
// CHECK: "tf_saved_model.session_initializer"() // CHECK-SAME: initializers = [@init_func_init_op] func.func @init_func_init_op() -> () attributes { tf_saved_model.initializer_type = "init_op", tf_saved_model.exported_names = ["tf_saved_model.session_initializer_init_op"]} { %cst_0 = "tf.Const"() {value = dense<1.000000e+00> : tensor<2xf32>} : () -> tensor<2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h
inline constexpr StringRef kTfSavedModelInitializerRestoreType = "restore_op"; // Indicates that the initializer corresponds to the init op. inline constexpr StringRef kTfSavedModelInitializerInitType = "init_op"; class TensorFlowSavedModelDialect : public Dialect { public: explicit TensorFlowSavedModelDialect(MLIRContext *context); LogicalResult verifyRegionArgAttribute(Operation *op, unsigned region_index,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 03:21:34 UTC 2024 - 5.1K bytes - Viewed (0)