Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for variable_info (0.2 sec)

  1. tensorflow/compiler/jit/variable_info.cc

    #include "tsl/platform/status.h"
    
    namespace tensorflow {
    
    VariableInfo::VariableInfo(
        int index, absl::string_view name, Var* var,
        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_),
    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

    // refcount on destruction.
    class VariableInfo {
     public:
      explicit VariableInfo(int index, absl::string_view name, Var* var,
                            const std::optional<ManagedStackTrace>&
                                definition_stack_trace = std::nullopt);
      VariableInfo(VariableInfo&& other);
    
      VariableInfo& operator=(VariableInfo&& other);
    
      VariableInfo(const VariableInfo&) = delete;
    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

              *ptr = new Var(DT_INVALID);
              return absl::OkStatus();
            }));
        VariableInfo& variable_info = result->emplace_back(
            var_idx, handle.name(), variable, handle.definition_stack_trace());
        if (variables_updated != nullptr &&
            variables_updated->find(var_idx) == variables_updated->end()) {
          variable_info.set_read_only();
        }
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/variable_info_util.h

    //
    // If the variable is read_only(), only acquires reader locks.
    Status LockVariables(absl::Span<VariableInfo*> variables)
        TF_EXCLUSIVE_LOCK_FUNCTION();
    Status LockVariables(absl::Span<VariableInfo> variables)
        TF_EXCLUSIVE_LOCK_FUNCTION();
    
    // Returns a vector of VariableInfo instances for the resource variable inputs,
    // given that *all* inputs are in `inputs`. The input indices for the resource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_compile_on_demand_op.h

    #define TENSORFLOW_COMPILER_JIT_XLA_COMPILE_ON_DEMAND_OP_H_
    
    #include <vector>
    
    #include "tensorflow/compiler/jit/device_compilation_profiler.h"
    #include "tensorflow/compiler/jit/variable_info.h"
    #include "tensorflow/compiler/jit/variable_info_util.h"
    #include "tensorflow/compiler/jit/xla_launch_util.h"
    #include "tensorflow/compiler/jit/xla_platform_info.h"
    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. istioctl/pkg/config/config.go

    	"istio.io/istio/istioctl/pkg/root"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/env"
    )
    
    // settableFlags are the flags used to istioctl
    var settableFlags = map[string]env.VariableInfo{
    	"istioNamespace":      env.Register("ISTIOCTL_ISTIONAMESPACE", constants.IstioSystemNamespace, "The istioctl --istioNamespace override"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jul 30 12:16:07 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/next_pluggable_device/c_api.h

        const char* plugin_resource_name, void** result_plugin_resource,
        void* (*create_func)(void*), void* create_func_args,
        void (*delete_func)(void*), TF_Status* status);
    
    // -------------------------  VariableInfo  ------------------------------------
    TF_CAPI_EXPORT extern TF_VariableInfo* TF_CreateVariableInfoFromContext(
        TF_OpKernelContext* ctx, int index, TF_Status* status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 20:01:06 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top