Kanye West thinks Bill Cosby is getting railroaded ... if Kanye's Twitter feed can be trusted, that is.
Honestly, Kanye's been on one over the last few hours -- ranting about a bunch of things, but he just topped them all with ... "BILL COSBY INNOCENT !!!!!!!"
It's unclear if 'Ye's been hacked, or if he's just getting stuff off his chest.
What is 100% clear is his album drops on Thursday -- which makes this the perfect time to get as much attention as possible.
We're sure Cosby ain't complaining.