Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TF_GraphToFunction (0.07 sec)

  1. tensorflow/c/c_api_function_test.cc

                   const std::vector<string>& output_names,
                   bool expect_failure = false) {
        ASSERT_EQ(func_, nullptr);
        const char** output_names_ptr = ToArray(output_names);
        func_ = TF_GraphToFunction(func_graph_, func_name_, false, num_opers,
                                   num_opers == -1 ? nullptr : opers.data(),
                                   inputs.size(), inputs.data(), outputs.size(),
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_experimental_test.cc

      TF_Operation* feed = Placeholder(func_graph.get(), s.get());
      TF_Operation* neg = Neg(feed, func_graph.get(), s.get());
    
      TF_Output inputs[] = {{feed, 0}};
      TF_Output outputs[] = {{neg, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1,
                                 /*opers=*/nullptr, 1, inputs, 1, outputs,
                                 /*output_names=*/nullptr,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

      TF_Function* tf_function = new TF_Function();
      tf_function->record = new tensorflow::FunctionRecord(
          std::move(fdef), std::move(stack_traces), false);
    
      return tf_function;
    }
    
    TF_Function* TF_GraphToFunction(const TF_Graph* fn_body, const char* fn_name,
                                    unsigned char append_hash_to_fn_name,
                                    int num_opers, const TF_Operation* const* opers,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

        const TF_FunctionOptions* opts, const char* description, TF_Status* status);
    
    // Similar to TF_GraphToFunction but allows specifying control outputs of the
    // function.
    //
    //  The arguments of TF_GraphToFunction have the same meaning, but the new
    //  arguments are as follows:
    //
    //    ncontrol_outputs: Number of control outputs of the function.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top