MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / get_valid_padding

Function get_valid_padding

Scripts/process-tf.py:51–53  ·  view source on GitHub ↗
(input_shape, window, strides)

Source from the content-addressed store, hash-verified

49 return res
50
51def get_valid_padding(input_shape, window, strides):
52 return [int(math.ceil((x - y + 1) / z))
53 for x, y, z in zip(input_shape, window, strides)]
54
55for op in graph.get_operations():
56 if op.inputs:

Callers 1

process-tf.pyFile · 0.85

Calls 1

zipFunction · 0.85

Tested by

no test coverage detected