Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for init_ops (1.03 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_test.cc

          "tf_saved_model.session_initializer"() {initializers = [@init_func]} : () -> ()
          func.func @init_func() attributes {tf_saved_model.exported_names = ["init_func"], tf_saved_model.initializer_type = "init_op"} {
            func.return
          }
        }
      )mlir";
    
      Block block;
      ModuleOp module_op = ParseModuleOp(kModuleOpStr, block, ctx_);
    
      func::FuncOp init_func_op = GetInitializerFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

                      .Input(inputs)
                      .Attr("ids", ids)
                      .Attr("calibration_methods", calibration_methods)
                      .Finalize(node_def()));
      ASSERT_THAT(InitOp(),
                  StatusIs(tsl::error::INVALID_ARGUMENT,
                           HasSubstr("NodeDef missing attr 'output_file_path'")));
    }
    
    TEST_F(CalibrationStatisticsSaverTest, WrongNumInputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_remove_vars_in_session_initializer.mlir

      // Test case: Variable removed for the initializer function whose
      // initializer_type is "init_op".
      "tf_saved_model.session_initializer"() { initializers = [@init] } : () -> ()
    
      func.func @init() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"], tf_saved_model.initializer_type = "init_op"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 00:22:36 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/convert_session_initializer_to_function.mlir

    "tf_saved_model.session_initializer"() {initializers = [@init1]} : () -> ()
    func.func @init1() attributes {tf_saved_model.exported_names = ["init1"], tf_saved_model.initializer_type = "init_op"} {
      %0 = "tf.Const"() {value = dense<42> : tensor<1xi64>} : () -> tensor<1xi64>
      return
    }
    }
    
    // -----
    
    // CHECK-LABEL: multiple_initializers
    // CHECK-NOT: tf_saved_model.session_initializer
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 02 16:24:00 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

      func.func @init() -> (tensor<1xf32> {tf_saved_model.index_path = ["output"]})
        attributes { tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"], tf_saved_model.initializer_type = "init_op" } {
        %0 = "tf.Const"() {value = dense<[1.0]> : tensor<1xf32> } : () -> tensor<1xf32>
        func.return %0 : tensor<1xf32>
      }
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_restore_op.mlir

    // in the initializer function of "init_op" type.
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {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"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_hashtable_ops_as_args.mlir

      func.func @init_all_tables() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init_all_tables"], tf_saved_model.initializer_type = "init_op"} {
        %cst = "tf.Const"() {value = dense<["hello", "model", "quantization"]> : tensor<3x!tf_type.string>} : () -> tensor<3x!tf_type.string>
        %cst_0 = "tf.Const"() {value = dense<[0, 1, 2]> : tensor<3xi64>} : () -> tensor<3xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 05:41:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir

      func.func @init() attributes {tf_saved_model.exported_names = ["tf_saved_model.session_initializer_init"], tf_saved_model.initializer_type = "init_op"} {
        return
      }
    // Check that @init is not removed.
    // CHECK: @init()
    // CHECK-SAME: tf_saved_model.initializer_type = "init_op"
    
      func.func @serving_default() -> (tensor<8xf32> {tf_saved_model.index_path = ["output"]})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 17.2K bytes
    - Viewed (0)
Back to top