Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for definition_stack_trace_ (0.35 sec)

  1. tensorflow/compiler/jit/variable_info.cc

        const std::optional<ManagedStackTrace>& definition_stack_trace)
        : index_(index),
          name_(name),
          var_(var),
          definition_stack_trace_(definition_stack_trace) {}
    
    VariableInfo::VariableInfo(VariableInfo&& other)
        : index_(other.index_),
          var_(other.var_),
          definition_stack_trace_(other.definition_stack_trace_),
          lock_held_(other.lock_held_) {
      other.index_ = -1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/variable_info.h

      void set_read_only() { read_only_ = true; }
    
      const std::optional<ManagedStackTrace>& definition_stack_trace() const {
        return definition_stack_trace_;
      }
    
      ~VariableInfo();
    
     private:
      int index_;
      std::string name_;
      Var* var_;
      std::optional<ManagedStackTrace> definition_stack_trace_;
    
      // We can't use a optional<mutex_lock> here because it confuses the compiler's
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/variable_info_util.cc

        }
        ResourceHandle handle = inputs[var_idx]->flat<ResourceHandle>()(0);
        if (handle.device() != dev->attributes().name()) {
          std::string definition_location =
              DefinitionLocationMsg(handle.definition_stack_trace());
          return errors::InvalidArgument(
              "Trying to access resource ", handle.name(), definition_location,
              " located in device ", handle.device(), " from device ",
              dev->attributes().name(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top