Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for name_$ (0.1 sec)

  1. tensorflow/cc/framework/scope.cc

        for (const Node* node : graph->nodes()) {
          const string& name = node->name();
          (*name_map)[name] = 0;
          // Add all name prefixes ('/' separated).
          size_t idx = -1;
          while ((idx = name.find(kScopeSeparator, idx + 1)) != string::npos) {
            (*name_map)[name.substr(0, idx)] = 0;
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/aot_only_var_handle_op.cc

      OP_REQUIRES_OK(c, c->GetAttr("shared_name", &name_));
    }
    
    void XlaAotOnlyVarHandleOp::Compile(XlaOpKernelContext* context) {
      // Look for a resource of the same name. TF also keys that on the container
      // and type attributes, but that doesn't seem necessary.
      for (const auto& resource : context->xla_context()->resources()) {
        if (resource->kind() == XlaResource::kVariable &&
            resource->name() == name_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:57:04 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc

        : std::fstream(temp_file_name, mode), name_(temp_file_name) {}
    
    TempFile::TempFile(TempFile&& rhs)
        : std::fstream(std::move(rhs)), name_(std::move(rhs.name_)) {}
    
    TempFile::~TempFile() {
      std::fstream::close();
      std::remove(name_.c_str());
    }
    
    const std::string TempFile::getName() const { return name_; }
    
    bool TempFile::truncate() {
      std::fstream::close();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 26 14:56:58 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/signature_def_function_metadata.cc

    #include "tensorflow/c/experimental/saved_model/core/signature_def_function_metadata.h"
    
    namespace tensorflow {
    
    SignatureDefParam::SignatureDefParam(std::string name, TensorSpec spec)
        : name_(std::move(name)), spec_(std::move(spec)) {}
    
    const std::string& SignatureDefParam::name() const { return name_; }
    
    const TensorSpec& SignatureDefParam::spec() const { return spec_; }
    
    SignatureDefFunctionMetadata::SignatureDefFunctionMetadata(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 29 23:11:59 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.cc

    FlatTensorFunction::FlatTensorFunction(
        const std::string& name, std::vector<ImmediateTensorHandlePtr> captures,
        ImmediateExecutionContext* ctx)
        : name_(name), captures_(std::move(captures)), ctx_(ctx) {}
    
    FlatTensorFunction::~FlatTensorFunction() {
      Status status = ctx_->RemoveFunction(name_);
      if (!status.ok()) {
        LOG(ERROR) << "Failed to remove functiondef " << name_ << ". "
                   << status.message();
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/model/arg_spec.h

      const string& name() const { return name_; }
      const string& description() const { return description_; }
      const ArgType arg_type() const { return arg_type_; }
      const int position() const { return position_; }
    
     private:
      explicit ArgSpec(const OpDef::ArgDef& arg_def, ArgType arg_type,
                       int position);
    
      string name_;
      string description_;
      ArgType arg_type_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/model/op_spec.h

    // An Op.
    //
    // Essentially, this represents an OpDef and any necessary context (e.g ApiDef).
    class OpSpec {
     public:
      static OpSpec Create(const OpDef& op_def, const ApiDef& api_def);
    
      const string& name() const { return name_; }
      const string& summary() const { return summary_; }
      const string& description() const { return description_; }
      const std::vector<ArgSpec>& Inputs() const { return input_args_; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/imports/build.go

    	return eval(x, tags, prefer)
    }
    
    // MatchFile returns false if the name contains a $GOOS or $GOARCH
    // suffix which does not match the current system.
    // The recognized name formats are:
    //
    //	name_$(GOOS).*
    //	name_$(GOARCH).*
    //	name_$(GOOS)_$(GOARCH).*
    //	name_$(GOOS)_test.*
    //	name_$(GOARCH)_test.*
    //	name_$(GOOS)_$(GOARCH)_test.*
    //
    // Exceptions:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/ops/gen/model/attr_spec.h

    class AttrSpec {
     public:
      AttrSpec() = default;
      AttrSpec(const AttrSpec& other) = default;
      static AttrSpec Create(const OpDef::AttrDef& attr_def);
    
      const string& name() const { return name_; }
      const string& description() const { return description_; }
      const string& full_type() const { return full_type_; }
      const string& base_type() const { return base_type_; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/variable_info.h

      // A pointer to the resource variable.  May be null if this VariableInfo is
      // "empty", i.e. it does not track a resource variable.
      Var* var() const { return var_; }
    
      // Returns the variable name.
      absl::string_view name() const { return name_; }
    
      // Returns true if the resource variable lock was successfully acquired by
      // this thread.
      bool lock_held() const { return lock_held_; }
      void set_lock_held() { lock_held_ = true; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top