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

GitHub | jgainesau | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1335#252549841

    GitHub | 7 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 | 5 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