Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for variable_info (0.15 sec)

  1. tensorflow/compiler/jit/BUILD

            "defs.h",
        ],
        visibility = [":friends"],
    )
    
    # Internal targets below this point.
    
    cc_library(
        name = "variable_info",
        srcs = ["variable_info.cc"],
        hdrs = ["variable_info.h"],
        visibility = [
            ":internal",
            # We reuse VariableInfo in TFRT's implementation of TpuExecuteOp.
            "//learning/brain/tfrt/tf_tpu:__pkg__",
            "//learning/brain/tfrt/tpu_plugin:__pkg__",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 61.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      // operate on TF_VariableInfo (such as allocate temp tensor for the `var` held
      // by the underlying tensorflow::VariableInfo.
      TF_VariableInfo(int index, const std::string& name, tensorflow::Var* var) {
        var_info = tensorflow::VariableInfo{index, name, var};
      }
    
      tensorflow::VariableInfo var_info{0, "", nullptr};
    };
    
    TF_VariableInfo* TF_CreateVariableInfoFromContext(TF_OpKernelContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
Back to top