docs: public static DataType getDtypeFromContext() {
          try {
              lock.readLock().lock();
  
              if (dtype == null) {
                  lock.readLock().unlock();
                  lock.writeLock().lock();
  
                  if (dtype == null)
                      dtype = getDtypeFromContext(Nd4jContext.getInstance().getConf().getProperty("dtype"));
  
                  lock.writeLock().unlock();
                  lock.readLock().lock();
              }
  
              return dtype;
          } finally {
              lock.readLock().unlock();
          }
      }