Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for owned (6.56 sec)

  1. tensorflow/c/eager/tfe_executor_internal.h

          : owned_executor(new tensorflow::EagerExecutor(
                async, enable_streaming_enqueue, in_flight_nodes_limit)) {}
    
      explicit TFE_Executor(tensorflow::EagerExecutor* executor)
          : owned_executor(nullptr), unowned_executor(executor) {}
    
      tensorflow::EagerExecutor* executor() {
        return owned_executor == nullptr ? unowned_executor : owned_executor.get();
      }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 22 20:30:59 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/c/checkpoint_reader.h

                     std::unique_ptr<tensorflow::Tensor>* out_tensor,
                     TF_Status* out_status) const;
    
     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/checkpoint_reader.cc

        string key(v2_reader_->key());
        (*var_to_shape_map)[key] = TensorShape(entry.shape());
        (*var_to_data_type_map)[key] = DataType(entry.dtype());
      }
      // The returned pointers are owned by the caller.
      return std::make_pair(std::move(var_to_shape_map),
                            std::move(var_to_data_type_map));
    }
    
    }  // namespace checkpoint
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.h

      Status Name(StringPiece* result) const override;
    
     private:
      std::string filename_;
      std::unique_ptr<TF_RandomAccessFile> file_;
      const TF_RandomAccessFileOps* ops_;  // not owned
      ModularRandomAccessFile(const ModularRandomAccessFile&) = delete;
      void operator=(const ModularRandomAccessFile&) = delete;
    };
    
    class ModularWritableFile final : public WritableFile {
     public:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_internal.h

    };
    
    struct TF_ImportGraphDefOptions {
      tensorflow::ImportGraphDefOptions opts;
    
      // Backing memory for TensorId fields in opts.
      // TODO(skyewm): it'd be better if ImportGraphDefOptions owned this.
      std::vector<tensorflow::string> tensor_id_data;
    };
    
    struct TF_ImportGraphDefResults {
      std::vector<TF_Output> return_tensors;
      std::vector<TF_Operation*> return_nodes;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/tape/tape_context.h

      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeContext() override;
    
     private:
      AbstractContext* parent_ctx_;  // Not owned.
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    }  // namespace gradients
    }  // namespace tensorflow
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  7. ci/official/README.md

    #
    #   Note: if you interrupt a bazel command on docker (ctrl-c), you
    #   will need to run `docker exec tf pkill bazel` to quit bazel.
    #
    #   Note: new files created from the container are owned by "root".
    #   You can run e.g. `docker exec tf chown -R $(id -u):$(id -g) build_output`
    #   to transfer ownership to your user.
    #
    # Docker is enabled by default on Linux. You may disable it if you prefer:
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

    } TF_Filesystem_Option_Type;
    
    typedef struct TF_Filesystem_Option {
      char* name;                         // null terminated, owned
      char* description;                  // null terminated, owned
      int per_file;                       // bool actually, but bool is not a C type
      TF_Filesystem_Option_Value* value;  // owned
    } TF_Filesystem_Option;
    
    /// SECTION 2. Function tables for functionality provided by plugins
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    namespace tf_gcs_filesystem {
    typedef struct GcsFileStat {
      TF_FileStatistics base;
      int64_t generation_number;
    } GcsFileStat;
    
    typedef struct GCSFile {
      google::cloud::storage::Client gcs_client;  // owned
      bool compose;
      absl::Mutex block_cache_lock;
      std::shared_ptr<RamFileBlockCache> file_block_cache
          ABSL_GUARDED_BY(block_cache_lock);
      uint64_t block_size;  // Reads smaller than block_size will trigger a read
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.h

    // "fifo_queue_enqueue_<tensor_id>", to be executed by this API call. It reads
    // from a placeholder node "arg_tensor_enqueue_<tensor_id>".
    //
    // `tensor` is still owned by the caller. This call will be blocked if the queue
    // has reached its capacity, and will be unblocked when the queued tensors again
    // drop below the capacity due to dequeuing.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top