STT-tensorflow/tensorflow/lite/experimental/swift/TensorFlowLiteSwift.podspec
YoungSeok Yoon 246d6228ec Podspec updates for TFLite v2.2.0
PiperOrigin-RevId: 310290541
Change-Id: I613e906987e21a91092a31b46dc362aac686e024
2020-05-06 21:50:18 -07:00

34 lines
1.1 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'TensorFlowLiteSwift'
s.version = '2.2.0'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache' }
s.homepage = 'https://github.com/tensorflow/tensorflow'
s.source = { :git => 'https://github.com/tensorflow/tensorflow.git', :tag => "v#{s.version}" }
s.summary = 'TensorFlow Lite for Swift'
s.description = <<-DESC
TensorFlow Lite is TensorFlow's lightweight solution for Swift developers. It
enables low-latency inference of on-device machine learning models with a
small binary size and fast performance supporting hardware acceleration.
DESC
s.ios.deployment_target = '9.0'
s.module_name = 'TensorFlowLite'
s.static_framework = true
tfl_dir = 'tensorflow/lite/'
swift_dir = tfl_dir + 'experimental/swift/'
s.source_files = swift_dir + 'Sources/*.swift'
s.dependency 'TensorFlowLiteC', "#{s.version}"
s.test_spec 'Tests' do |ts|
ts.source_files = swift_dir + 'Tests/*.swift'
ts.resources = [
tfl_dir + 'testdata/add.bin',
tfl_dir + 'testdata/add_quantized.bin',
]
end
end