From 7a5dfa350b629e944d99b8d4b35a45325546c719 Mon Sep 17 00:00:00 2001 From: Yanzhang Wang Date: Mon, 9 Oct 2017 08:20:01 -0400 Subject: [PATCH] feat: quantized tensor support (#1611) * feat: quantized tensor support QuantizedTensor inherits from Tensor with supporting part of methods. The memory is allocated from native code, so it only matains a pointer `getNativeStorage`. Note, We don't support automatically `free` method. Anyone using this method should think about the memory lacking, especially for memory optimization. test: quantized tensor tests * fix: test case failed on spark 1.6