Since graph is dynamic, i.e., you can change topology at each iteration or do things like if random.random() < 0.01: add three linear layers, there is no general rule, unless you define a representation yourself and stick to it in your network definitions.