jactorch.graph.variable#

Functions

new_var_with(obj, *args, **kwargs)

DEPRECATED(Jiayuan Mao): new_var_with has been deprecated and will be removed by 10/23/2018; please use tensor.new instead.

var_from_list(value[, dtype, ref])

DEPRECATED(Jiayuan Mao): var_from_list has been deprecated and will be removed by 10/23/2018; please use torch.tensor instead.

var_with(obj, ref)

DEPRECATED(Jiayuan Mao): var_with has been deprecated and will be removed by 10/23/2018; please use device=ref.device instead.

Functions

new_var_with(obj, *args, **kwargs)[source]#

DEPRECATED(Jiayuan Mao): new_var_with has been deprecated and will be removed by 10/23/2018; please use tensor.new instead.

var_from_list(value, dtype='float32', ref=None)[source]#

DEPRECATED(Jiayuan Mao): var_from_list has been deprecated and will be removed by 10/23/2018; please use torch.tensor instead.

var_with(obj, ref)[source]#

DEPRECATED(Jiayuan Mao): var_with has been deprecated and will be removed by 10/23/2018; please use device=ref.device instead.