Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetID (0.12 sec)

  1. tensorflow/c/eager/tape.h

      for (const TapeTensor& o : output_tensors) {
        // Note: the tensor can have already been watched and hence be in the tape,
        // so we cannot check that we're inserting it here.
        tensor_tape_[o.GetID()] = op_id;
        tensor_usage_[o.GetID()] = 1;
        tensors.push_back(o);
      }
      op_tape_[op_id] = OpTapeEntry<BackwardFunction, TapeTensor>{
          op_type, std::move(tensors), std::move(ids), backward_function_getter(),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  2. tensorflow/c/eager/gradients.cc

      handle_->Ref();
    }
    TapeTensor::TapeTensor(const TapeTensor& other) {
      handle_ = other.handle_;
      handle_->Ref();
    }
    TapeTensor::~TapeTensor() { handle_->Unref(); }
    
    int64_t TapeTensor::GetID() const { return ToId(handle_); }
    
    tensorflow::DataType TapeTensor::GetDType() const {
      return handle_->DataType();
    }
    AbstractTensorHandle* TapeTensor::GetHandle() const { return handle_; }
    
    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