Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

edgify / torch   python

Repository URL to install this package:

Version: 2.0.1+cpu 

/ masked / __init__.py

from .maskedtensor.core import is_masked_tensor, MaskedTensor
from .maskedtensor.creation import as_masked_tensor, masked_tensor
from ._ops import (
    _canonical_dim,
    _generate_docstring,
    _reduction_identity,
    _where,
    _input_mask,
    _output_mask,
    _combine_input_and_mask,
    sum,
    prod,
    cumsum,
    cumprod,
    amax,
    amin,
    argmax,
    argmin,
    mean,
    median,
    logsumexp,
    logaddexp,
    norm,
    var,
    std,
    softmax,
    log_softmax,
    softmin,
    normalize,
)

__all__ = [
    "as_masked_tensor",
    "is_masked_tensor",
    "masked_tensor",
    "MaskedTensor",
]