/external/tensorflow/tensorflow/lite/experimental/swift/Tests/ |
D | QuantizationParametersTests.swift | 21 let parameters = QuantizationParameters(scale: 0.5, zeroPoint: 1) in testQuantizationParameters_InitWithCustomValues() 23 XCTAssertEqual(parameters.zeroPoint, 1) in testQuantizationParameters_InitWithCustomValues() 27 let parameters1 = QuantizationParameters(scale: 0.5, zeroPoint: 1) in testQuantizationParameters_Equatable() 28 let parameters2 = QuantizationParameters(scale: 0.5, zeroPoint: 1) in testQuantizationParameters_Equatable() 31 let parameters3 = QuantizationParameters(scale: 0.4, zeroPoint: 1) in testQuantizationParameters_Equatable() 41 return lhs.scale == rhs.scale && lhs.zeroPoint == rhs.zeroPoint in ==()
|
D | TensorTests.swift | 27 let quantizationParameters = QuantizationParameters(scale: 0.5, zeroPoint: 1) in testTensor_Init()
|
D | InterpreterTests.swift | 260 static let quantizationParameters = QuantizationParameters(scale: 0.003922, zeroPoint: 0)
|
/external/tensorflow/tensorflow/lite/experimental/swift/Sources/ |
D | QuantizationParameters.swift | 27 public let zeroPoint: Int variable 34 init(scale: Float, zeroPoint: Int) { 36 self.zeroPoint = zeroPoint
|
D | Interpreter.swift | 121 let zeroPoint = Int(cQuantizationParams.zero_point) in input() variable 125 quantizationParameters = QuantizationParameters(scale: scale, zeroPoint: zeroPoint) in input() 169 let zeroPoint = Int(cQuantizationParams.zero_point) in output() variable 173 quantizationParameters = QuantizationParameters(scale: scale, zeroPoint: zeroPoint) in output()
|
/external/tensorflow/tensorflow/lite/experimental/objc/sources/ |
D | TFLQuantizationParameters.m | 25 - (instancetype)initWithScale:(float)scale zeroPoint:(int32_t)zeroPoint { 29 _zeroPoint = zeroPoint;
|
D | TFLQuantizationParameters+Internal.h | 29 - (instancetype)initWithScale:(float)scale zeroPoint:(int32_t)zeroPoint;
|
D | TFLInterpreter.mm | 353 zeroPoint:cParams.zero_point];
|
/external/tensorflow/tensorflow/lite/experimental/objc/tests/ |
D | TFLQuantizationParametersTests.m | 41 [[TFLQuantizationParameters alloc] initWithScale:kTestScale zeroPoint:kTestZeroPoint]; 43 XCTAssertEqual(params.zeroPoint, kTestZeroPoint);
|
D | TFLInterpreterTests.m | 223 XCTAssertEqual(inputTensor.quantizationParameters.zeroPoint, kAddQuantizedModelZeroPoint); 249 XCTAssertEqual(outputTensor.quantizationParameters.zeroPoint, kAddQuantizedModelZeroPoint);
|
/external/tensorflow/tensorflow/lite/experimental/objc/apis/ |
D | TFLQuantizationParameters.h | 29 @property(nonatomic, readonly) int32_t zeroPoint;
|
/external/tensorflow/tensorflow/contrib/lite/ |
D | nnapi_delegate.cc | 159 int32_t zeroPoint = 0; in addTensorOperands() local 172 zeroPoint = tensor->params.zero_point; in addTensorOperands() 181 zeroPoint = tensor->params.zero_point; in addTensorOperands() 203 reinterpret_cast<uint32_t*>(tensor->dims->data), scale, zeroPoint}; in addTensorOperands()
|
/external/tensorflow/tensorflow/lite/ |
D | nnapi_delegate.cc | 130 int32_t zeroPoint = 0; in addTensorOperands() local 143 zeroPoint = tensor->params.zero_point; in addTensorOperands() 148 zeroPoint = tensor->params.zero_point; in addTensorOperands() 171 reinterpret_cast<uint32_t*>(tensor->dims->data), scale, zeroPoint}; in addTensorOperands()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate.cc | 417 int32_t zeroPoint = 0; in AddTensor() local 437 zeroPoint = tensor->params.zero_point; in AddTensor() 450 zeroPoint = tensor->params.zero_point; in AddTensor() 459 reinterpret_cast<uint32_t*>(tensor->dims->data), scale, zeroPoint}; in AddTensor()
|
/external/tensorflow/tensorflow/lite/experimental/swift/TestApps/TensorFlowLiteApp/TensorFlowLiteApp/ |
D | ViewController.swift | 173 quantizationParameters.scale * Float(Int($0) - quantizationParameters.zeroPoint) in invokeAddQuantized()
|
/external/tensorflow/tensorflow/lite/nnapi/ |
D | NeuralNetworksTypes.h | 329 int32_t zeroPoint; member
|