Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_OperationName (0.15 sec)

  1. tensorflow/c/c_api_test.cc

      // Make a placeholder operation.
      TF_Operation* feed = Placeholder(graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Test TF_Operation*() query functions.
      EXPECT_EQ(string("feed"), string(TF_OperationName(feed)));
      EXPECT_EQ(string("Placeholder"), string(TF_OperationOpType(feed)));
      EXPECT_EQ(string(""), string(TF_OperationDevice(feed)));
      EXPECT_EQ(1, TF_OperationNumOutputs(feed));
    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.h

        TF_OperationDescription* desc, TF_Status* status);
    
    // TF_Operation functions.  Operations are immutable once created, so
    // these are all query functions.
    
    TF_CAPI_EXPORT extern const char* TF_OperationName(TF_Operation* oper);
    TF_CAPI_EXPORT extern const char* TF_OperationOpType(TF_Operation* oper);
    TF_CAPI_EXPORT extern const char* TF_OperationDevice(TF_Operation* oper);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

      mutex_lock l(desc->graph->mu);
      return TF_FinishOperationLocked(desc, status);
    }
    
    // TF_Operation functions
    // ----------------------------------------------------------
    
    const char* TF_OperationName(TF_Operation* oper) {
      return oper->node.name().c_str();
    }
    
    const char* TF_OperationOpType(TF_Operation* oper) {
      return oper->node.type_string().c_str();
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top