Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tensorflow-core-api to 1.0.0 #1080

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ val scalacheckVersion = "1.18.1"
val shapelessVersion = "2.3.12"
val slf4jVersion = "2.0.16"
val tensorflowMetadataVersion = "1.15.0"
val tensorflowVersion = "0.5.0"
val tensorflowVersion = "1.0.0"

// project
ThisBuild / tlBaseVersion := "0.7"
Expand Down
3 changes: 1 addition & 2 deletions refined/src/test/scala/magnolify/refined/RefinedSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ class RefinedSuite extends MagnolifySuite {
import magnolify.tensorflow.unsafe._
import magnolify.refined.tensorflow._
import com.google.protobuf.ByteString
import org.tensorflow.proto.example.Feature
import org.tensorflow.proto.example.BytesList
import org.tensorflow.proto.{BytesList, Feature}
val tpe = ensureSerializable(ExampleType[Record])
val good = tpe(record)
assertEquals(tpe(good), record)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import magnolia1.*
import magnolify.shared.*
import magnolify.shims.FactoryCompat
import org.tensorflow.metadata.v0.{Annotation, Feature as FeatureSchema, FeatureType, Schema}
import org.tensorflow.proto.example.*
import org.tensorflow.proto.*

import java.{lang as jl, util as ju}
import scala.annotation.{implicitNotFound, StaticAnnotation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import org.tensorflow.metadata.v0.Annotation
import org.tensorflow.metadata.v0.Feature
import org.tensorflow.metadata.v0.FeatureType
import org.tensorflow.metadata.v0.Schema
import org.tensorflow.proto.example.Example
import org.tensorflow.proto.Example

import java.net.URI
import java.time.Duration
Expand Down
Loading