Home / Type/ MemoryFormat Type — pytorch Architecture

MemoryFormat Type — pytorch Architecture

Architecture documentation for the MemoryFormat type/interface in MemoryFormat.java from the pytorch codebase.

Entity Profile

Source Code

android/pytorch_android/src/main/java/org/pytorch/MemoryFormat.java lines 3–14

public enum MemoryFormat {
  CONTIGUOUS(1),
  CHANNELS_LAST(2),
  CHANNELS_LAST_3D(3),
  ;

  final int jniCode;

  MemoryFormat(int jniCode) {
    this.jniCode = jniCode;
  }
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free