Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for identifier (0.18 sec)

  1. tensorflow/c/eager/gradients.cc

    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace {
    
    // TODO(b/172558015): Using the pointer address as the identifier for the tensor
    // may lead to collisions. Introduce another way to get a unique id for this
    // tensor.
    int64_t ToId(const AbstractTensorHandle* t) {
      return static_cast<int64_t>(reinterpret_cast<uintptr_t>(t));
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top