Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddN (0.02 sec)

  1. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Test TF_Operation*() query functions.
      EXPECT_EQ(string("add"), string(TF_OperationName(add)));
      EXPECT_EQ(string("AddN"), string(TF_OperationOpType(add)));
      EXPECT_EQ(string(""), string(TF_OperationDevice(add)));
      EXPECT_EQ(1, TF_OperationNumOutputs(add));
      EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{add, 0}));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      TF_Operation* add = Add(feed1, feed2, func_graph_, s_);
      DefineT(-1, {}, {{feed1, 0}, {feed2, 0}}, {{add, 3}}, {}, true);
      EXPECT_EQ(TF_OUT_OF_RANGE, TF_GetCode(s_));
      EXPECT_EQ(string("Node 'add' (type: 'AddN', num of outputs: 1) does "
                       "not have output 3\n\tEncountered while processing "
                       "output 0 from function 'MyFunc'"),
                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)
Back to top