Table Of Contents
Table Of Contents

mxnet.gluon.nn.Block.apply

Block.apply(fn)[source]

Applies fn recursively to every child block as well as self.

Parameters

fn (callable) – Function to be applied to each submodule, of form fn(block).

Returns

Return type

this block