java.lang.ClassCastException: org.bytedeco.javacpp.ShortPointer cannot be cast to org.bytedeco.javacpp.FloatPointer

GitHub | jgainesau | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 1335#252549841

    GitHub | 5 months ago | jgainesau
    java.lang.ClassCastException: org.bytedeco.javacpp.ShortPointer cannot be cast to org.bytedeco.javacpp.FloatPointer
  2. 0

    Class Cast Exception when using Half Datatype for GPU

    GitHub | 3 months ago | shortstopholden
    java.lang.ClassCastException: org.bytedeco.javacpp.ShortPointer cannot be cast to org.bytedeco.javacpp.FloatPointer

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.bytedeco.javacpp.ShortPointer cannot be cast to org.bytedeco.javacpp.FloatPointer

      at org.nd4j.linalg.jcublas.blas.JcublasLevel2.sgemv()
    2. org.nd4j.linalg
      JcublasLevel2.sgemv
      1. org.nd4j.linalg.jcublas.blas.JcublasLevel2.sgemv(JcublasLevel2.java:52)
      1 frame