Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for uniqBy (0.16 sec)

  1. tensorflow/c/eager/abstract_operation.h

    struct AbstractOperationDeleter {
      void operator()(AbstractOperation* p) const {
        if (p != nullptr) {
          p->Release();
        }
      }
    };
    }  // namespace internal
    
    using AbstractOperationPtr =
        std::unique_ptr<AbstractOperation, internal::AbstractOperationDeleter>;
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.h

    class ModularFileSystem final : public FileSystem {
     public:
      ModularFileSystem(
          std::unique_ptr<TF_Filesystem> filesystem,
          std::unique_ptr<const TF_FilesystemOps> filesystem_ops,
          std::unique_ptr<const TF_RandomAccessFileOps> random_access_file_ops,
          std::unique_ptr<const TF_WritableFileOps> writable_file_ops,
          std::unique_ptr<const TF_ReadOnlyMemoryRegionOps>
              read_only_memory_region_ops,
    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)
  3. tensorflow/c/eager/immediate_execution_context.h

      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
      virtual Status AsyncWait() = 0;
    
      // Add a function (serialized FunctionDef protocol buffer) so that it can
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients.h

      Status Lookup(const ForwardOperation& op,
                    std::unique_ptr<GradientFunction>* gradient_function) const;
    
     private:
      absl::flat_hash_map<string, GradientFunctionFactory> registry_;
    };
    
    // TODO(srbs): Figure out if we can avoid declaring this in the public header.
    // Wrapper for a tensor output of an operation executing under a tape.
    //
    // `GetID` returns a unique id for the wrapped tensor which is used to maintain
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tfe_executor_internal.h

          : owned_executor(nullptr), unowned_executor(executor) {}
    
      tensorflow::EagerExecutor* executor() {
        return owned_executor == nullptr ? unowned_executor : owned_executor.get();
      }
    
      std::unique_ptr<tensorflow::EagerExecutor> owned_executor;
      tensorflow::EagerExecutor* unowned_executor;
    };
    
    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)
  6. tensorflow/c/c_test_util.h

    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/test.h"
    
    using ::tensorflow::string;
    
    typedef std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)>
        unique_tensor_ptr;
    
    TF_Tensor* BoolTensor(int32_t v);
    
    // Create a tensor with values of type TF_INT8 provided by `values`.
    TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_tensor_handle.h

        if (p != nullptr) {
          p->Unref();
        }
      }
    };
    }  // namespace internal
    
    // TODO(b/185908092): Make AbstractTensorHandlePtr an IntrusivePtr.
    using AbstractTensorHandlePtr =
        std::unique_ptr<AbstractTensorHandle,
                        internal::AbstractTensorHandleDeleter>;
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_internal.h

    struct TracingOperationDeleter {
      void operator()(TracingOperation* p) const {
        if (p != nullptr) {
          p->Release();
        }
      }
    };
    }  // namespace internal
    
    using TracingOperationPtr =
        std::unique_ptr<TracingOperation, internal::TracingOperationDeleter>;
    
    // This holds the context for the execution: dispatching operations either to an
    // MLIR implementation or to a graph implementation.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// cache size accordingly.
      void RemoveBlock(BlockMap::iterator entry) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
    
      /// The cache pruning thread that removes files with expired blocks.
      std::unique_ptr<TF_Thread, std::function<void(TF_Thread*)>> pruning_thread_;
    
      /// Notification for stopping the cache pruning thread.
      absl::Notification stop_pruning_thread_;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  10. tensorflow/c/checkpoint_reader.h

      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
      std::unique_ptr<TensorSliceReader> reader_;
      std::unique_ptr<BundleReader> v2_reader_;
    
      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
      std::unique_ptr<TensorSliceReader::VarToDataTypeMap> var_to_data_type_map_;
    
      CheckpointReader(const CheckpointReader&) = delete;
    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)
Back to top