Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for static_cast (0.05 sec)

  1. tensorflow/c/c_api_experimental.cc

    namespace {
    typedef std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)>
        UniqueFuncPtr;
    }
    
    // struct TF_Operation { tensorflow::Node node; };
    static TF_Operation* ToTF_Operation(Node* node) {
      return static_cast<TF_Operation*>(static_cast<void*>(node));
    }
    
    void TF_EnableXLACompilation(TF_SessionOptions* options, unsigned char enable) {
      tensorflow::ConfigProto& config = options->options.config;
      auto* optimizer_options =
    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.cc

    // New Graph and Session API
    
    // Helper functions -----------------------------------------------------------
    
    namespace {
    
    TF_Operation* ToOperation(Node* node) {
      return static_cast<TF_Operation*>(static_cast<void*>(node));
    }
    
    string OutputName(const TF_Output& output) {
      return StrCat(output.oper->node.name(), ":", output.index);
    }
    
    const tensorflow::AttrValue* GetAttrValue(TF_Operation* oper,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  3. RELEASE.md

            *   Use the free functions such as
                `tensorflow::errors::IsInvalidArgument` if needed.
            *   In the last resort, use
                e.g.`static_cast<tensorflow::errors::Code>(error::Code::INVALID_ARGUMENT)`
                or `static_cast<int>(code)` for comparisons.
    *   `tensorflow::StatusOr` will also become in the future an alias to
        `absl::StatusOr`, so use `StatusOr::value` instead of
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
Back to top