All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nd4j.linalg.memory.stash.Stash Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
package org.nd4j.linalg.memory.stash;

import org.nd4j.linalg.api.ndarray.INDArray;

/**
 * This interface describe short-living storage, with pre-defined life time.
 *
 * @author [email protected]
 */
public interface Stash {

    boolean checkIfExists(T key);

    void put(T key, INDArray object);

    INDArray get(T key);

    void purge();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy