Bump the TFLite iOS version number to 2.3.0

PiperOrigin-RevId: 323520599
Change-Id: I7adfdf53d7b87f7e1ad5f604bc1b9badf62db19f
This commit is contained in:
YoungSeok Yoon 2020-07-28 00:12:28 -07:00 committed by TensorFlower Gardener
parent e544dce3a3
commit 32068c58ac
4 changed files with 62 additions and 15 deletions

View File

@ -1,10 +1,10 @@
Pod::Spec.new do |s|
s.name = 'TensorFlowLiteC'
s.version = '2.2.0'
s.version = '2.3.0'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache' }
s.homepage = 'https://github.com/tensorflow/tensorflow'
s.source = { :http => "https://dl.google.com/dl/cpdc/b3338da8d8cfd06b/TensorFlowLiteC-#{s.version}.tar.gz" }
s.source = { :http => "https://dl.google.com/dl/cpdc/b03814d8b5a44ad2/TensorFlowLiteC-#{s.version}.tar.gz" }
s.summary = 'TensorFlow Lite'
s.description = <<-DESC
@ -19,5 +19,22 @@ Pod::Spec.new do |s|
s.module_name = 'TensorFlowLiteC'
s.library = 'c++'
s.vendored_frameworks = 'Frameworks/TensorFlowLiteC.framework'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.vendored_frameworks = 'Frameworks/TensorFlowLiteC.framework'
end
s.subspec 'CoreML' do |coreml|
coreml.weak_framework = 'CoreML'
coreml.dependency 'TensorFlowLiteC/Core'
coreml.vendored_frameworks = 'Frameworks/TensorFlowLiteCCoreML.framework'
end
s.subspec 'Metal' do |metal|
metal.weak_framework = 'Metal'
metal.dependency 'TensorFlowLiteC/Core'
metal.vendored_frameworks = 'Frameworks/TensorFlowLiteCMetal.framework'
end
end

View File

@ -1,10 +1,10 @@
Pod::Spec.new do |s|
s.name = 'TensorFlowLiteSelectTfOps'
s.version = '2.2.0'
s.version = '2.3.0'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache' }
s.homepage = 'https://github.com/tensorflow/tensorflow'
s.source = { :http => "https://dl.google.com/dl/cpdc/9604b128278441ac/TensorFlowLiteSelectTfOps-2.2.0.tar.gz" }
s.source = { :http => "https://dl.google.com/dl/cpdc/4f626bc24212fd61/TensorFlowLiteSelectTfOps-#{s.version}.tar.gz" }
s.summary = 'TensorFlow Lite Select TF Ops'
s.description = <<-DESC

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'TensorFlowLiteObjC'
s.version = '2.2.0'
s.version = '2.3.0'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache' }
s.homepage = 'https://github.com/tensorflow/tensorflow'

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'TensorFlowLiteSwift'
s.version = '2.2.0'
s.version = '2.3.0'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache' }
s.homepage = 'https://github.com/tensorflow/tensorflow'
@ -20,14 +20,44 @@ Pod::Spec.new do |s|
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',
]
tfl_dir = 'tensorflow/lite/'
swift_dir = tfl_dir + 'experimental/swift/'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.dependency 'TensorFlowLiteC', "#{s.version}"
core.source_files = swift_dir + 'Sources/*.swift'
core.exclude_files = swift_dir + 'Sources/{CoreML,Metal}Delegate.swift'
core.test_spec 'Tests' do |ts|
ts.source_files = swift_dir + 'Tests/*.swift'
ts.exclude_files = swift_dir + 'Tests/MetalDelegateTests.swift'
ts.resources = [
tfl_dir + 'testdata/add.bin',
tfl_dir + 'testdata/add_quantized.bin',
]
end
end
s.subspec 'CoreML' do |coreml|
coreml.source_files = swift_dir + 'Sources/CoreMLDelegate.swift'
coreml.dependency 'TensorFlowLiteC/CoreML', "#{s.version}"
coreml.dependency 'TensorFlowLiteSwift/Core', "#{s.version}"
end
s.subspec 'Metal' do |metal|
metal.source_files = swift_dir + 'Sources/MetalDelegate.swift'
metal.dependency 'TensorFlowLiteC/Metal', "#{s.version}"
metal.dependency 'TensorFlowLiteSwift/Core', "#{s.version}"
metal.test_spec 'Tests' do |ts|
ts.source_files = swift_dir + 'Tests/{Interpreter,MetalDelegate}Tests.swift'
ts.resources = [
tfl_dir + 'testdata/add.bin',
tfl_dir + 'testdata/add_quantized.bin',
]
end
end
end