Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for my_fun (0.09 sec)

  1. tensorflow/c/c_api_function_test.cc

      TF_Operation* add2 = Add(add1, feed3, func_graph_, s_, "add2");
      Define(-1, {}, {feed1, feed2, feed3}, {add1, add2}, {"my_out", "my_out"},
             true);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Cannot have duplicate output names. Name 'my_out' "
                       "appears more than once in 'output_names' array."),
                string(TF_Message(s_)));
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental_test.cc

      void SetUp() override {}
    
      ~CApiExperimentalFunctionTest() override {
        TF_DeleteFunction(func_);
        TF_DeleteGraph(func_graph_);
        TF_DeleteStatus(s_);
      }
    
      const char* func_name_ = "MyFunc";
      TF_Status* s_;
      TF_Graph* func_graph_;
      TF_Function* func_;
    };
    
    TEST_F(CApiExperimentalFunctionTest, GraphRemoveFunction) {
      TF_Function* funcs[1];
      DefineFunction(func_name_, &func_);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. RELEASE.md

    ### Bug Fixes and Other Changes
    
    * `tf.py_function` and `tf.numpy_function` can now be used as function decorators for clearer code:
       ```
       @tf.py_function(Tout=tf.float32)
       def my_fun(x):
         print("This always executes eagerly.")
         return x+1
       ```
    
    * `tf.lite`
        * Strided_Slice now supports `UINT32`.
    
    * `tf.config.experimental.enable_tensor_float_32_execution`
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top