Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for f0006_multiple_return_statements (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_output.py

      # CHECK-SAME: ) -> (
      # CHECK-SAME:   tensor<1xf32> {tf_saved_model.index_path = ["x"]})
      # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["f0006_multiple_return_statements"]
      @tf.function(input_signature=[tf.TensorSpec([], tf.float32)])
      def f0006_multiple_return_statements(self, x):
        if x > 3.:
          return {'x': tf.constant(1.0, shape=[1])}
        else:
          return {'x': tf.constant(1.0, shape=[1])}
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top