Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for TF1 (0.05 sec)

  1. src/internal/types/testdata/check/typeinference.go

    }
    
    // failed inference
    type Tf0[A, B any] int
    type Tf1[A any, B ~struct {
    	a A
    	c C
    }, C any] int
    
    func _() {
    	var _ Tf0 /* ERROR "not enough type arguments for type Tf0: have 1, want 2" */ [int]
    	var _ Tf1 /* ERROR "not enough type arguments for type Tf1: have 1, want 3" */ [int]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:50:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/const0.go

    	// floating point values
    	tf0 float32 = 0.
    	tf1 float32 = 1.
    	tf2 float64 = 4.2e1
    	tf3 myfloat = 3.141592653589793238462643383279502884197169399375105820974944592307816406286
    	tf4 myfloat = 1e-1
    
    	tf5 = tf0 + tf1
    	tf6 = tf1 - tf1
    	tf7 = tf2 /* ERROR "mismatched types" */ * tf1
    	tf8 = tf3 / tf3
    	tf9 = tf3 /* ERROR "not defined" */ % tf3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/image_format/README.md

    )
    ```
    
    When this option is enabled, exported SavedModels with proto size > 2GB will
    automatically save with the new format (`.cpb` instead of `.pb`).
    
    <!-- **Compatibility** -->
    
    The official TF APIs (TF1/TF2 python or C++ loading) have already been
    integrated to handle the new format, but some downstream converters may not
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 29 22:11:19 UTC 2023
    - 674 bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/experimental/public/signature_def_function.h

    // "signatures" saved from a TF2 SavedModel APIs:
    // https://github.com/tensorflow/tensorflow/blob/8ce0600f58ed84a8c84a7bbdb014d1f09e44f4c8/tensorflow/python/saved_model/save.py#L830-L854
    // Or the "SignatureDefMap" saved from TF1 SavedModel APIs:
    // https://github.com/tensorflow/tensorflow/blob/8ce0600f58ed84a8c84a7bbdb014d1f09e44f4c8/tensorflow/python/saved_model/load_v1_in_v2_test.py#L170-L174
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 17 23:03:48 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/experimental/public/function_metadata.h

    namespace tensorflow {
    namespace experimental {
    namespace cc {
    
    // FunctionMetadata stores additional function information, including
    // optional signaturedef feeds/fetches (for TF1-based ConcreteFunctions),
    // a valid function path (for TF2-based ConcreteFunctions), and
    // the types + number of inputs and outputs.
    class FunctionMetadata final {
      // TODO(bmzhao): Add getters here as necessary.
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.h

    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    
    // Run all the passes involved in transforming the graph before execution so
    // that it is suitable for targeting devices when called via the TF1 Session
    // API.
    // These transformations take as input a Tensorflow Graph as an MLIR Module
    // and transforms the module in place to cluster the given ops for compilation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 14:08:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

    # Use /tmp to make debugging the tests easier (see README.md)
    flags.DEFINE_string('save_model_path', '', 'Path to save the model to.')
    FLAGS = flags.FLAGS
    
    
    def set_tf_options():
      # Default TF1.x uses reference variables that are not supported by SavedModel
      # v1 Importer. To use SavedModel V1 Importer, resource variables should be
      # enabled.
      tf.enable_resource_variables()
      tf.compat.v1.disable_eager_execution()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/mlir_bridge_rollout_policy.h

    // function will respect the request. If the user does not explicitly request
    // enabled or disabled, it will decide whether or not to run the bridge.
    //
    // The config_proto param is a required input for all TF1 graphs but it is
    // redundant for TF2 graphs.
    // If getting rollout policy involves graph analysis, `record_stats` is used
    // to decide whether to emit metrics on unsupported features of the graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 23:11:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

    def _save_function_alias(
        saved_model_dir: str,
        tags: Collection[str],
        function_aliases: Mapping[str, str],
    ) -> None:
      """Saves the function alias to the SavedModel.
    
      SavedModelBuilder (TF1 saved model saver) does not support saving function
      aliases, so this function loads the SavedModel proto and adds the
      `function_aliases` field.
    
      Args:
        saved_model_dir: Path to the saved model directory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py

      # `LOG(ERROR)`, so this makes them print out by default.
      logging.set_stderrthreshold('error')
    
      # In true TF2 releases, v2 behavior is enabled as part of module __init__. In
      # TF1 builds, it must be enabled manually. If you get an error here,
      # it means that TF was used in V1 mode prior to calling this.
      tf.enable_v2_behavior()
    
      def app_main(argv):
        """Function passed to absl.app.run."""
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 23:49:27 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top