Пример #1
0
		std::shared_ptr<layer_updater_schema> layer_updater_schema::create(layer::const_ptr layer_schema) const
		{
			std::shared_ptr<layer_updater_schema> res = create_specific();

			res->layer_schema = layer_schema;

			return res;
		}
Пример #2
0
		layer_testing_schema_smart_ptr layer_testing_schema::create(
			const_layer_smart_ptr layer_schema,
			cuda_running_configuration_const_smart_ptr cuda_config) const
		{
			layer_testing_schema_smart_ptr res = create_specific();

			res->layer_schema = layer_schema;
			res->cuda_config = cuda_config;

			return res;
		}
		std::tr1::shared_ptr<layer_testing_schema> layer_testing_schema::create(
			const_layer_smart_ptr layer_schema,
			cuda_running_configuration_const_smart_ptr cuda_config) const
		{
			std::tr1::shared_ptr<layer_testing_schema> res = create_specific();

			res->layer_schema = layer_schema;
			res->cuda_config = cuda_config;

			return res;
		}
Пример #4
0
std::tr1::shared_ptr<weight_vector_bound_cuda> weight_vector_bound_cuda::create(
    const_layer_smart_ptr layer_schema,
    cuda_running_configuration_const_smart_ptr cuda_config) const
{
    std::tr1::shared_ptr<weight_vector_bound_cuda> res = create_specific();

    res->layer_schema = layer_schema;
    res->cuda_config = cuda_config;

    res->weight_vector_bound_configured();

    return res;
}