the theano conventionthe previous examples would become ( and ( the keras framework provides support for both formats video data video data is one of the few types of real-world data for which you'll need tensors video can be understood as sequence of frameseach frame being color image because each frame can be stored in tensor (heightwidthcolor_depth) sequence of frames can be stored in tensor (framesheightwidthcolor_ depth)and thus batch of different videos can be stored in tensor of shape (samplesframesheightwidthcolor_depthfor instancea -second youtube video clip sampled at frames per second would have frames batch of four such video clips would be stored in tensor of shape ( that' total of , , valuesif the dtype of the tensor was float then each value would be stored in bitsso the tensor would represent mb heavyvideos you encounter in real life are much lighterbecause they aren' stored in float and they're typically compressed by large factor (such as in the mpeg formatlicensed to