Skip to content

Deprecation warnings for torch 1.5 #1906

@fmigneault

Description

@fmigneault
(BatchNormImpl at <TORCH_ROOT>\torch\csrc\api\src\nn\modules\batchnorm.cpp:21)
Warning: torch::nn::BatchNorm module is deprecated and will be removed in 1.5. Use BatchNorm{1,2,3}d instead. 

Warning: The enum value `torch::nn::init::Nonlinearity::ReLU` is deprecated and will be removed in 1.5. Please use `torch::kReLU` instead. (_compute_nonlinearity_type at <TORCH_ROOT>\torch\csrc\api\src\nn\init.cpp:63)

Warning: The enum value `torch::nn::init::FanMode::FanOut` is deprecated and will be removed in 1.5. Please use `torch::kFanOut` instead. (_compute_fanmode_type at <TORCH_ROOT>\torch\torch\csrc\api\src\nn\init.cpp:78)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions