def save(self, file_name):
        with open(file_name, "wb") as f:
            data = (self.input_m,
                    self.input_std,
                    [p.get_value() for p in self.params],
                    self.n_hidden,
                    self.hidden_activation,
                    self.n_inputs,
                    self.n_outputs,
                    self.weight_l2,
                    self.prev_frames,
                    self.next_frames,
                    self.batch_size,
                    self.amp,
                    self.amp_vec,
                    )
            pickle.dump(data, f)
Validate an instance under the given schema.
dataset/ETHPy150Open UFAL-DSG/cloud-asr/cloudasr/worker/vad/tffnn.py/TheanoFFNN.save--crossover with--dataset/ETHPy150Open danielyule/hearthbreaker/jsonschema/validators.py/validate