unreal.LearningAgentsNeuralNetwork

class unreal.LearningAgentsNeuralNetwork(outer: Object | None = None, name: Name | str = 'None')

Bases: DataAsset

A neural network data asset.

C++ Source:

  • Plugin: LearningAgents

  • Module: LearningAgents

  • File: LearningAgentsNeuralNetwork.h

load_network_from_asset(neural_network_asset) None

Copy another asset’s network weights into this network. Network sizes must match.

Parameters:

neural_network_asset (LearningAgentsNeuralNetwork) – The asset to load from.

load_network_from_snapshot(file) None

Load this network from a snapshot.

Parameters:

file (FilePath) – The snapshot file.

save_network_to_asset(neural_network_asset) None

Copy this network’s weights to another asset. Network sizes must match.

Parameters:

neural_network_asset (LearningAgentsNeuralNetwork) – The asset to save to.

save_network_to_snapshot(file) None

Save this network into a snapshot.

Parameters:

file (FilePath) – The snapshot file.