Searched refs:float4_size (Results 1 – 10 of 10) sorted by relevance
78 const int float4_size = fp32_weights ? 16 : 8; in UploadWeightsForDWConv2D() local80 std::vector<uint8_t> data(float4_size * elements_count); in UploadWeightsForDWConv2D()94 desc.size = float4_size * elements_count; in UploadWeightsForDWConv2D()153 const int float4_size = fp32_weights ? 16 : 8; in UploadWeightsForDWConv3D() local155 std::vector<uint8_t> data(float4_size * elements_count); in UploadWeightsForDWConv3D()169 desc.size = float4_size * elements_count; in UploadWeightsForDWConv3D()
154 const int float4_size = f32_weights ? 16 : 8; in UploadWeights() local155 std::vector<uint8_t> data(float4_size * elements_count); in UploadWeights()181 desc.size = float4_size * elements_count; in UploadWeights()188 int sub_size = float4_size * texture_width * texture_height; in UploadWeights()
79 const int float4_size = fp32_weights ? 16 : 8; in UploadWeightsAndBiases() local81 std::vector<uint8_t> data(float4_size * elements_count); in UploadWeightsAndBiases()96 desc.size = float4_size * elements_count; in UploadWeightsAndBiases()
85 const int float4_size = fp32_weights ? 16 : 8; in UploadWeightsAndBiases() local87 std::vector<uint8_t> data(float4_size * elements_count); in UploadWeightsAndBiases()102 desc.size = float4_size * elements_count; in UploadWeightsAndBiases()
156 const int float4_size = f32_weights ? 16 : 8; in UploadWeights() local162 desc.size = float4_size * elements_count; in UploadWeights()179 desc.data.resize(float4_size * elements_count); in UploadWeights()
309 const int float4_size = f32_weights ? 16 : 8; in UploadWeights() local311 std::vector<uint8_t> data(float4_size * elements_count); in UploadWeights()337 desc.size = float4_size * elements_count; in UploadWeights()345 int sub_size = float4_size * texture_width * texture_height; in UploadWeights()
131 const int float4_size = f32_weights ? sizeof(float4) : sizeof(half4); in UploadWeights() local141 desc.size = float4_size * elements_count; in UploadWeights()
85 const int float4_size = desc.element_type == DataType::FLOAT32 in CreateFromTensorLinearDescriptor() local88 return CreateCLBuffer(context->context(), depth_ * float4_size, read_only, in CreateFromTensorLinearDescriptor()
133 const int float4_size = f32_weights ? 16 : 8; in UploadWeights() local139 desc.size = float4_size * elements_count; in UploadWeights()159 desc.data.resize(float4_size * elements_count); in UploadWeights()
85 const int float4_size = desc.element_type == DataType::FLOAT32 in CreateFromTensorLinearDescriptor() local94 length:depth_ * float4_size in CreateFromTensorLinearDescriptor()