Shortcuts

Function torch::nn::init::_calculate_fan_in_and_fan_out

Function Documentation

std::tuple<int64_t, int64_t> torch::nn::init::_calculate_fan_in_and_fan_out(const Tensor &tensor)

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