Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for init_ops (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/jit/xla_compile_util_test.cc

      TF_EXPECT_OK(NodeDefBuilder("identity_op", "Identity")
                       .Input(FakeInput(DT_FLOAT))
                       .Attr("T", DT_FLOAT)
                       .Finalize(node_def()));
      TF_EXPECT_OK(InitOp());
      AddInputFromArray<float>(TensorShape({1, 2}), {6.9, 4.2});
      TF_EXPECT_OK(RunOpKernel());
    
      XlaCompiler::SingleOpCompileArgument single_op_arg(*context_);
    
      std::vector<XlaArgument> args(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 21:48:05 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top