Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_OperationDevice (0.21 sec)

  1. tensorflow/c/c_api_test.cc

      // 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));
      EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{feed, 0}));
      EXPECT_EQ(1, TF_OperationOutputListLength(feed, "output", s));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api.h

    // 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);
    
    TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper);
    TF_CAPI_EXPORT extern TF_DataType TF_OperationOutputType(TF_Output oper_out);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/c_api.cc

      return oper->node.name().c_str();
    }
    
    const char* TF_OperationOpType(TF_Operation* oper) {
      return oper->node.type_string().c_str();
    }
    
    const char* TF_OperationDevice(TF_Operation* oper) {
      return oper->node.requested_device().c_str();
    }
    
    int TF_OperationNumOutputs(TF_Operation* oper) {
      return oper->node.num_outputs();
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top