trw.layers.utils

Module Contents

Functions

div_shape(shape, div=2)

Divide the shape by a constant

trw.layers.utils.div_shape(shape, div=2)

Divide the shape by a constant

Parameters
  • shape – the shape

  • div – a divisor

Returns

a list