batch_fc¶
- paddle.fluid.contrib.layers.nn. batch_fc ( input, param_size, param_attr, bias_size, bias_attr, act=None ) [source]
-
Batch FC layer This Op can calculate BatchFC. This is similar to matmul op, except that the bias and relu activation layers are added. Notice: It currently supports GPU device. This Op exists in contrib, which means that it is not shown to the public. :param input: Tensor with data type float32, float64. :param param_size: The size of w. :param param_attr: Attribute initializer of w. :param bias_size: The size of bias. :param bias_attr: Attribute initializer of bias. :param act: Activation to be applied to the output of this layer.
- Returns
-
A Tensor with the same data type as input’s.
- Return type
-
Variable
Examples