MicroGPT::CrystalBackend
Inherits MicroGPT::Backend < Reference < Object
Instance methods
add(a : Mat, b : Mat) : Mat
Sourceadd!(a : Mat, b : Mat)
Sourcebatched_matmul(a_list : Array(Mat), b_list : Array(Mat), transpose_a : Bool, transpose_b : Bool) : Array(Mat)
Sourcebias_add(data : Mat, bias : Mat)
Sourcecausal_mask(scores : Mat)
Sourcematmul_into(a : Mat, b : Mat, dst : Mat)
Sourcerelease(a : Mat)
Sourcerelu_backward(grad : Mat, mask : Mat) : Mat
Sourcesoftmax_backward(s : Mat, ds : Mat) : Mat
Sourcesync
Sourcetranspose(a : Mat) : Mat
Source