Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for TF2 (0.04 sec)

  1. tensorflow/c/BUILD

            "//tensorflow/cc/experimental/libtf:__pkg__",
            "//tensorflow/cc/experimental/libtf:__subpackages__",
            # copybara:uncomment_begin(google-only)
            # "//tensorflow/cc/experimental/tf2:__pkg__",
            # "//tensorflow/cc/experimental/tf2:__subpackages__",
            # copybara:uncomment_end
            "//tensorflow/compiler/mlir/tensorflow/c:__subpackages__",
            "//tensorflow/core/transforms:__subpackages__",
        ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

    limitations under the License.
    ==============================================================================*/
    
    // This pass separates SparseCore, TensorCore, and non-TPU operations into
    // separate functions for proper sequencing of TF2 TPU Embedding (see
    // tpu_embedding_v3.py). This pass is a precursor for pipelining (see
    // embedding_pipelining.cc) and DOES NOT permit parallel execution across SC and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

    _CalibrationMethod = qc.CalibrationOptions.CalibrationMethod
    
    
    # Test cases for Static Range Quantization.
    # Tries to run all tests cases in both the graph mode (default in TF1) and the
    # eager mode (default in TF2) to ensure support for when TF2 is disabled.
    class StaticRangeQuantizationTest(quantize_model_test_base.QuantizedModelTest):
    
      @parameterized.parameters(
          testing.parameter_combinations([{
              'bias_fn': (
                  None,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/flags.cc

      return *jitrt_flags;
    }
    
    ConfigProto::Experimental::MlirBridgeRollout GetMlirBridgeRolloutState(
        std::optional<const ConfigProto> config_proto) {
      // TF1 graphs that do not override Sessions's ConfigProto and TF2 graphs
      // can enable/disable the graph via tf_mlir_enable_mlir_bridge.
      auto tf_mlir_enable_mlir_bridge =
          GetMlirCommonFlags()->tf_mlir_enable_mlir_bridge;
      if (tf_mlir_enable_mlir_bridge !=
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

                              status.ToString())
          .IgnoreError();
    
      return status;
    }
    
    // V1 Compat Bridge takes a TF Executor dialect and extracts the TF2 portion
    // and inserts it into a submodule. We just want to run the clustering
    // portion of the pipeline on just the single submodule.
    absl::Status RunClusteringPipelineOnSubmodule(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        representative_dataset: rd.RepresentativeDataset,
    ) -> None:
      """Runs the representative dataset through a function for calibration.
    
      NOTE: This is intended to be run in eager mode (TF2).
    
      Args:
        func: The function to run the representative samples through.
        representative_dataset: Representative dataset used for calibration. The
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/BUILD

            "//tensorflow/core:tensorflow",
            "//tensorflow/core:test",
            "//tensorflow/core:test_main",
            "//tensorflow/core:testlib",
        ],
    )
    
    # A subset of the TF2 saved models can be generated with this tool.
    py_strict_binary(
        name = "testdata/generate_saved_models",
        srcs = ["testdata/generate_saved_models.py"],
        data = [
            ":saved_model_asset_data",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 05:43:44 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

      """Test cases regarding the use of QuantizationOptions proto.
    
      Run all tests cases in both the graph mode (default in TF1) and the eager mode
      (default in TF2) to ensure support for when TF2 is disabled.
      """
    
      class SimpleModel(module.Module):
    
        def __init__(self):
          self.filters = np.random.uniform(low=-1.0, high=1.0, size=(4, 3)).astype(
              'f4'
          )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/end2end/back2back_fake_quant.pbtxt

    # RESULT1: name: "Identity"
    # RESULT1-NEXT: quantization:
    # RESULT1-NEXT: scale: [ 0.007523 ],
    # RESULT1-NEXT: zero_point: [ 116 ]
    
    # TODO  Actually RESULT1 represents in incomplete implementation
    # Currently TF2.2.0-rc3 all but the first fake_quant in 
    # sequence are dropped.  A correct transalation would retain the second as a requantization
    # op.
    
    # CORRECT1:name: "Identity"
    # CORRECT1-NEXT: quantization:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 15 19:42:47 UTC 2021
    - 25.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

        extra result of type `!tf_executor.control` is always produced by every
        `tf_executor.island`.
        Within an island, execution semantics follow standard sequential behavior as
        expected by TF2 and by compiler analyses and transformations, and values
        can’t be dead. Other nested `tf_executor.graph` operations can be present in
        the region to re-enable the TensorFlow executor for a subsection of the
        code.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top