Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Hodges (0.16 sec)

  1. tensorflow/c/c_api_test.cc

      ASSERT_EQ(1, TF_OperationNumInputs(neg));
      TF_Output neg_input = TF_OperationInput({neg, 0});
      EXPECT_EQ(scalar, neg_input.oper);
      EXPECT_EQ(0, neg_input.index);
    
      // Test that we can't see control edges involving the source and sink nodes.
      TF_Operation* control_ops[100];
      EXPECT_EQ(0, TF_OperationNumControlInputs(scalar));
      EXPECT_EQ(0, TF_OperationGetControlInputs(scalar, control_ops, 100));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/eager/c_api_test.cc

        tensorflow::ConfigProto config;
        // Do not skip grappler optimization even for small graphs.
        config.mutable_graph_options()
            ->mutable_rewrite_options()
            ->set_min_graph_nodes(-1);
        string serialized_config;
        ASSERT_TRUE(config.SerializeToString(&serialized_config));
        TFE_OpSetAttrString(
            op, "config_proto",
            reinterpret_cast<const void*>(serialized_config.c_str()),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_function_test.cc

          const tensorflow::FunctionDef& fdef,
          const std::vector<EdgeSpec>& e_edges,  // expected edges
          const std::vector<EdgeSpec>& c_edges,  // expected ctrl edges
          bool is_exact_edges = true) {
        // Build a set of edges from fdef
        std::set<EdgeSpec> a_edges;  // actual edges
        // Get edges from inputs to body nodes and between body nodes
        for (const NodeDef& node_def : fdef.node_def()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  4. tensorflow/c/c_api.h

    //   the body. In particular, it is an error to have a control edge going from
    //   a node outside of the body into a node in the body. This applies to control
    //   edges going from nodes referenced in `inputs` to nodes in the body when
    //   the former nodes are not in the body (automatically skipped or not
    //   included in explicitly specified body).
    //
    // Returns:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top