Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 194 for TFRT (0.03 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/optimize.mlir

    // RUN: tf-tfrt-opt -optimize-tf-for-tfrt -split-input-file -verify-diagnostics %s | FileCheck %s
    
    // CHECK-LABEL: @fold_device_index
    func.func @fold_device_index() -> tensor<i32> {
      // CHECK-NOT: tf.DeviceIndex
      // CHECK: tf.Const
      // CHECK-SAME: value = dense<1> : tensor<i32>
      %0 = "tf.DeviceIndex"() {device = "/device:CPU:0", device_names = ["GPU", "CPU"]} : () -> tensor<i32>
      func.return %0 : tensor<i32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 01 23:50:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/analysis/analysis.proto

    syntax = "proto3";
    
    package mlir.tfrt;
    
    message CompatibilityAnalysisReportProto {
      bool unknown_dialect = 1;
      bool ref_variable = 2;
      bool incompatible_variable = 3;
      bool incompatible_attribute = 4;
      bool control_flow_v1 = 5;
      string method_name = 6;
    
      // TODO(chky): add more checks, eg. tensor datatypes.
    }
    
    message CompatibilityAnalysisProto {
      CompatibilityAnalysisReportProto summary = 1;
    
      message OpInfo {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 20 20:56:11 UTC 2021
    - 533 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

      static mlir::PassPipelineRegistration<StandardPipelineOptions> pipeline(
          "tfrt-lower-cluster-to-runtime-ops-tpu",
          "Run all the passes involved after the clustering transformations from "
          "the TF2XLA Bridge. Takes as input a Module with tf_device.cluster ops "
          "and outputs TFRT runtime ops such as TPUCompile. This pipeline is for "
          "TPU.",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/internal/saved_model_api.cc

      std::string saved_model_dir(dirname);
      std::unique_ptr<tensorflow::SavedModelAPI> result;
    
      if (tensorflow::unwrap(ctx)->UsesTFRT()) {
        status->status = tensorflow::errors::Unimplemented(
            "TFRT SavedModel implementation will be added in the future");
      } else {
        std::unique_ptr<tensorflow::TFSavedModelAPI> saved_model;
        status->status = tensorflow::TFSavedModelAPI::Load(
            dirname, absl::nullopt,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 4.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tfrt_ops.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics | FileCheck %s
    
    // Tests for TensorFlow TFRT ops with custom verifiers.
    
    //===--------------------------------------------------------------------===//
    //  Test TF operations (tf.*)
    //===--------------------------------------------------------------------===//
    
    // CHECK-LABEL: func @testPwStreamResults
    func.func @testPwStreamResults(%arg0: tensor<f32>, %arg1: tensor<f32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 06:13:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/reorder_assert.mlir

    // RUN: tf-tfrt-opt -tfrt-reorder-tf-assert %s | FileCheck %s
    
    // CHECK-LABEL: @reorder_assert
    func.func @reorder_assert(%key0: tensor<!tf_type.string>, %key1: tensor<!tf_type.string>) -> (tensor<i64>, tensor<i64>) {
      %error_message = "tf.Const"() {value = dense<"error"> : tensor<!tf_type.string>} : () -> tensor<!tf_type.string>
      %default = "tf.Const"() {value = dense<-1> : tensor<i64>} : () -> tensor<i64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:51:48 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/convert_ref_variables.mlir

    // RUN: tf-tfrt-opt -tfrt-convert-ref-variables -split-input-file -verify-diagnostics %s | FileCheck %s
    
    // Test the basic cases where all uses of a ref variable can be converted.
    
    // CHECK-LABEL: @init
    func.func @init() {
      // CHECK-NOT: tf.VariableV2
      // CHECK-NOT: tf.Assign
    
      // CHECK: [[handle:%.*]] = "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "x"
      // CHECK: "tf.AssignVariableOp"([[handle]], {{%.*}})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/mlrt/BUILD

    )
    
    # Bundle together all of the test utilities that are used by tests.
    filegroup(
        name = "test_utilities",
        testonly = True,
        data = [
            "//tensorflow/compiler/mlir/tfrt:tf-tfrt-opt",
            "@llvm-project//llvm:FileCheck",
            "@llvm-project//mlir:run_lit.sh",
        ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 607 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/backend_compiler.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tfrt/backend_compiler.h"
    
    namespace tensorflow {
    
    BackendCompiler::~BackendCompiler() = default;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 07 05:19:13 UTC 2024
    - 805 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_restore_pruning.mlir

    // RUN: tf-tfrt-opt -tf-restore-pruning %s | FileCheck %s
    
    // CHECK-LABEL:   func.func @prune_unused_restore
    func.func @prune_unused_restore() {
      %cst = "tf.Const"() <{value = dense<"restore_ariables"> : tensor<!tf_type.string>}> : () -> tensor<!tf_type.string>
      %cst_0 = "tf.Const"() <{value = dense<""> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 22:02:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top