Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NodeDef (0.04 sec)

  1. tensorflow/c/c_api_experimental.cc

      using tensorflow::NodeDef;
      using tensorflow::OpRegistrationData;
      using tensorflow::Tensor;
      using tensorflow::shape_inference::DimensionHandle;
      using tensorflow::shape_inference::InferenceContext;
      using tensorflow::shape_inference::ShapeAndType;
      using tensorflow::shape_inference::ShapeHandle;
    
      const int num_inputs = input_shapes->num_items;
      NodeDef node_def;
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

        } else {
          ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString();
        }
      }
      EXPECT_TRUE(found_placeholder);
      EXPECT_TRUE(found_scalar_const);
      EXPECT_TRUE(found_add);
    
      // Add another oper to the graph.
      TF_Operation* neg = Neg(add, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Serialize to NodeDef.
      NodeDef node_def;
      ASSERT_TRUE(GetNodeDef(neg, &node_def));
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.h

                                                         const TF_DataType* values,
                                                         int num_values);
    
    // Checks the tensorflow::NodeDef built via the methods above to see if it can
    // run on device_type.
    TF_CAPI_EXPORT extern void TF_AttrBuilderCheckCanRunOnDevice(
        TF_AttrBuilder* builder, const char* device_type, TF_Status* status);
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(nodes.size(), fdef.node_def_size())
            << "Got unexpected number of nodes. Expected: ["
            << absl::StrJoin(nodes, ", ")
            << "] Actual nodes in fdef: " << fdef.DebugString();
        for (const NodeDef& node_def : fdef.node_def()) {
          ASSERT_TRUE(nodes.find(node_def.name()) != nodes.end())
              << "Got unexpected node: " << node_def.name()
              << " in fdef: " << fdef.DebugString();
        }
      }
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (1)
  5. tensorflow/c/c_api.cc

          for (auto id = session->last_num_graph_nodes; id < num_nodes; ++id) {
            Node* const node = graph.FindNodeId(id);
            if (node != nullptr && node->IsOp()) {
              NodeDef* const node_def = graph_def.add_node();
              *node_def = node->def();
            }
          }
          *graph_def.mutable_library() = graph.flib_def().ToProto();
          if (flags::Global().more_stack_traces.value()) {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  6. RELEASE.md

    *   `uniform_unit_scaling_initializer()` no longer takes a `full_shape` arg,
        instead relying on the partition info passed to the initializer function
        when it's called.
    *   The NodeDef protocol message is now defined in its own file `node_def.proto`
        `instead of graph.proto`.
    *   `ops.NoGradient` was renamed `ops.NotDifferentiable`. `ops.NoGradient` will
        be removed soon.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
Back to top