Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for graphdef (0.43 seconds)

  1. tensorflow/c/c_test_util.h

    // Returns a sorted vector of std::pair<function_name, gradient_func> from
    // graph_def.library().gradient()
    std::vector<std::pair<string, string>> GetGradDefs(
        const tensorflow::GraphDef& graph_def);
    
    // Returns a sorted vector of names contained in `grad_def`
    std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def);
    
    class CSession {
     public:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Click Count (0)
  2. tensorflow/c/eager/gradient_checker_test.cc

    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, GradientCheckerTest,
        ::testing::Combine(::testing::Values("graphdef"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, GradientCheckerTest,
        ::testing::Combine(::testing::Values("graphdef"),
                           /*tfrt*/ ::testing::Values(false),
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  3. tensorflow/c/eager/gradients_test.cc

    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*executing_eagerly*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 7K bytes
    - Click Count (0)
  4. .github/ISSUE_TEMPLATE/tflite-op-request.md

    **Standalone code to reproduce the issue** 
    Provide a reproducible test case that is the bare minimum necessary to generate
    the problem. If possible, please share a link to Colab/Jupyter/any notebook.
    
    Also, please include a link to a GraphDef or the model if possible.
    
    **Any other info / logs**
    
    Include any logs or source code that would be helpful to diagnose the problem.
    If including tracebacks, please include the full traceback. Large logs and files
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 879 bytes
    - Click Count (0)
  5. tensorflow/c/c_test_util.cc

        const tensorflow::GraphDef& graph_def) {
      std::vector<std::pair<string, string>> grads;
      for (const tensorflow::GradientDef& grad : graph_def.library().gradient()) {
        grads.emplace_back(grad.function_name(), grad.gradient_func());
      }
      std::sort(grads.begin(), grads.end());
      return grads;
    }
    
    std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def) {
      std::vector<string> names;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 17.8K bytes
    - Click Count (1)
  6. tensorflow/c/c_api.cc

    TF_ImportGraphDefResults* TF_GraphImportGraphDefWithResults(
        TF_Graph* graph, const TF_Buffer* graph_def,
        const TF_ImportGraphDefOptions* options, TF_Status* status) {
      GraphDef def;
      if (!tensorflow::ParseProtoUnlimited(&def, graph_def->data,
                                           graph_def->length)) {
        status->status = InvalidArgument("Invalid GraphDef");
        return nullptr;
      }
      auto results = new TF_ImportGraphDefResults();
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  7. tensorflow/c/c_api_test.cc

      EXPECT_TRUE(IsNeg(node_def, "add"));
    
      // Serialize to GraphDef.
      GraphDef graph_def2;
      ASSERT_TRUE(GetGraphDef(graph, &graph_def2));
    
      // Compare with first GraphDef + added NodeDef.
      NodeDef* added_node = graph_def.add_node();
      *added_node = node_def;
      EXPECT_EQ(graph_def.DebugString(), graph_def2.DebugString());
    
      // Look up some nodes by name.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      return new GraphContext(name);
    }
    
    // Register the tracing implemented in this file as the default tracing engine.
    static bool register_tracing = [] {
      RegisterTracingEngineFactory("graphdef", GraphTracingFactory);
      SetDefaultTracingEngine("graphdef").IgnoreError();
      return true;
    }();
    
    }  // namespace graph
    }  // namespace tracing
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_experimental.cc

        const char* text_proto,
        std::function<void(FunctionDef*)>* mutate_proto_func, TF_Status* status) {
      tensorflow::GraphDef gdef;
      if (!tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &gdef)) {
        status->status = tensorflow::errors::Internal(
            "Invalid text proto for GraphDef: ", text_proto);
        return {};
      }
      const auto& fdef_lib = gdef.library();
      if (fdef_lib.gradient_size() > 0) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  10. tensorflow/c/c_api_internal.h

        TF_LOCKS_EXCLUDED(session->graph->mu, session->mu);
    
    std::string getTF_OutputDebugString(TF_Output node);
    
    // Set whether to propagate assigned device information when constructing a new
    // Graph from a GraphDef. By default assigned device information is not copied
    // and is re-computed by the runtime.
    inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec(
        TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top