MCPcopy Create free account
hub / github.com/Tencent/PocketFlow / block_layer

Function block_layer

utils/external/resnet_model.py:317–355  ·  view source on GitHub ↗

Creates one layer of blocks for the ResNet model. Args: inputs: A tensor of size [batch, channels, height_in, width_in] or [batch, height_in, width_in, channels] depending on data_format. filters: The number of filters for the first convolution of the layer. bottleneck: Is the b

(inputs, filters, bottleneck, block_fn, blocks, strides,
                training, name, data_format)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected