Shortcuts

IValue

Methods

dictLongKeyFrom

dictStringKeyFrom

from

from

from

from

from

isBool

isBoolList

isDictLongKey

isDictStringKey

isDouble

isDoubleList

isList

isLong

isLongList

isNull

isString

isTensor

isTensorList

isTuple

listFrom

listFrom

listFrom

listFrom

listFrom

optionalNull

toBool

toBoolList

toDictLongKey

toDictStringKey

toDouble

toDoubleList

toList

toLong

toLongList

toStr

toTensor

toTensorList

toTuple

tupleFrom

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources