Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for variable_info (0.22 sec)

  1. tensorflow/compiler/jit/get_compiler_ir.cc

                                                      inputs, resource_arg_indices,
                                                      &variable_infos));
        TF_RETURN_IF_ERROR(LockVariables(absl::MakeSpan(variable_infos)));
      }
    
      absl::StatusOr<std::vector<XlaCompiler::Argument>> args;
    
      if (compiler_arg_source == CompilerArgSource::TENSOR_SPEC) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/kernels/xla_ops.cc

      std::pair<std::vector<XlaCompiler::Argument>, ResourceVarsSnapshot> result;
    
      std::vector<VariableInfo> variable_infos;
      TF_RETURN_IF_ERROR(
          GetVariableInfosFromInputs(ctx->resource_manager(), ctx->device(), inputs,
                                     variable_indices, &variable_infos));
      TF_RETURN_IF_ERROR(LockVariables(absl::MakeSpan(variable_infos)));
    
      TF_RETURN_IF_ERROR(SnapshotResourceVariables(ctx, variable_indices,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_launch_util.cc

          ctx->set_output(i, output_tensor);
          ++output_num;
        }
      }
    
      // input_index -> index into variable_infos.
      absl::flat_hash_map<int, int> variable_info_lookup;
      for (int i = 0; i < variable_infos.size(); i++) {
        variable_info_lookup.emplace(variable_infos[i].index(), i);
      }
    
      // Apply variable updates, if any.
      for (int i = 0, end = compilation_result->resource_updates.size(); i < end;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_launch_util_test.cc

    #include "tensorflow/compiler/jit/device_compiler.h"
    #include "tensorflow/compiler/jit/flags.h"
    #include "tensorflow/compiler/jit/pjrt_device_compiler_client.h"
    #include "tensorflow/compiler/jit/variable_info.h"
    #include "tensorflow/compiler/jit/variable_info_util.h"
    #include "tensorflow/compiler/tf2xla/xla_op_registry.h"
    #include "xla/pjrt/pjrt_client.h"
    #include "xla/pjrt/tfrt_cpu_pjrt_client.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/env/var.go

    // specializedVar represents a var that can Get/Lookup
    type specializedVar[T any] interface {
    	Lookup() (T, bool)
    	Get() T
    }
    
    // VariableInfo provides generic information about a variable. All Variables implement this interface.
    // This is largely to workaround lack of covariance in Go.
    type VariableInfo interface {
    	GetName() string
    	IsSet() bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top