mirror of
https://github.com/helblazer811/ManimML.git
synced 2025-05-28 03:16:47 +08:00
Bug fixes and linting for the activation functions addition.
This commit is contained in:
@ -12,7 +12,12 @@ class VectorLayer(VGroupNeuralNetworkLayer):
|
||||
self.num_values = num_values
|
||||
self.value_func = value_func
|
||||
|
||||
def construct_layer(self, input_layer: 'NeuralNetworkLayer', output_layer: 'NeuralNetworkLayer', **kwargs):
|
||||
def construct_layer(
|
||||
self,
|
||||
input_layer: "NeuralNetworkLayer",
|
||||
output_layer: "NeuralNetworkLayer",
|
||||
**kwargs,
|
||||
):
|
||||
# Make the vector
|
||||
self.vector_label = self.make_vector()
|
||||
self.add(self.vector_label)
|
||||
|
Reference in New Issue
Block a user