Module: TorchVision::Models::ResNext50_32x4d

Defined in:
lib/torchvision/models/resnext50_32x4d.rb

Class Method Summary collapse

Class Method Details

.new(**kwargs) ⇒ Object



4
5
6
7
8
# File 'lib/torchvision/models/resnext50_32x4d.rb', line 4

def self.new(**kwargs)
  kwargs[:groups] = 32
  kwargs[:width_per_group] = 4
  ResNet.make_model("resnext50_32x4d", Bottleneck, [3, 4, 6, 3], **kwargs)
end