Save the date! Google I/O returns May 18-20 Register now


Check that two networks have matching input specs and variables.

network_1 A network.Network.
network_2 A network.Network.

ValueError if the networks differ in input_spec, variables (number, dtype, or shape).
ValueError if either of the networks has not been built yet (e.g. user must call create_variables).