function AbstractModel( container, config ) {
	
	/**
	 * TensorSpace Model will be rendered in this HTML Dom element.
	 *
	 * @type { HTMLElement }
	 */
	
	this.container = undefined;
	
	/**
	 * Store loader.
	 * Four kinds of loader: TfLoader, TfjsLoader, KerasLoader, LiveLoader.
	 *
	 * @type { Loader }
	 */
	
	this.loader = undefined;
	
	/**
	 * Sign showing whether model has a preload loader.
	 * true -- has a preload loader
	 * false -- empty model, do not have a preload loader
	 *
	 * @type { boolean }
	 */
	
	this.hasLoader = false;
	
	/**
	 * Whether model has loaded a prediction model.
	 * true -- A loader has already load a prediction to TSP model
	 * false -- Empty model, do not have a prediction for prediction
	 *
	 * @type { boolean }
	 */
	
	this.isInitialized = false;
	
	/**
	 * Actual prediction model.
	 * undefined means no prediction model.
	 *
	 * @type { model }
	 */
	
	this.resource = undefined;
	
	/**
	 * Store user's input value for prediction.
	 *
	 * @type { Array }
	 */
	
	this.inputValue = undefined;
	
	/**
	 * Store prediction result from prediction model.
	 *
	 * @type { undefined }
	 */
	
	this.predictResult = undefined;
	
	/**
	 * Used to trigger model prediction and get predict result
	 *
	 * @type { Predictor }
	 */
	
	this.predictor = undefined;
	
	/**
	 * Prediction model type.
	 * Two types now: "Model", "Sequential"
	 *
	 * @type { string }
	 */
	
	this.modelType = undefined;
	
	/**
	 * Store all layers in Model.
	 *
	 * @type { Layer[] }
	 */
	
	this.layers = [];
	
	/**
	 * Model's depth in visualization.
	 *
	 * @type { Int }
	 */
	
	this.depth = undefined;
	
	/**
	 * Model configuration.
	 * Initialized with user's model config and default model config.
	 *
	 * @type { ModelConfiguration }
	 */
	
	this.configuration = undefined;
	
	/**
	 * Model's context, containing all THREE.Object for a TSP model.
	 *
	 * @type { THREE.Object }
	 */
	
	this.modelContext = new THREE.Object3D();
	
	this.loadConfiguration( container, config );
	
}
AbstractModel, abstract model, should not be initialized directly.
Base class for Sequential, Model

@param container, a DOM element where TSP model will be rendered to.
@param config, user's config for model.
@constructor