Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 194 for TFRT (0.06 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_restore_splitting.mlir

    // RUN: tf-tfrt-opt %s -tf-restore-splitting | FileCheck %s
    
    // CHECK-LABEL: func @single_restore
    // CHECK-SAME:    (%[[ARG0:.*]]: {{.*}})
    func.func @single_restore(%arg0: tensor<!tf_type.string>) -> (tensor<*xf32>, tensor<*xi32>) {
      %0 = "tf.Const"() {value = dense<["foo", "bar"]> : tensor<2x!tf_type.string>} : () -> tensor<2x!tf_type.string>
      %1 = "tf.Const"() {value = dense<""> : tensor<2x!tf_type.string>} : () -> tensor<2x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 05 23:51:03 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/array_grad_test.cc

        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/batch_function_deduplicate.mlir

    // RUN: tf-tfrt-opt -tfrt-deduplicate-functions-invoked-by-batch-function %s | FileCheck %s
    
    // This test verifies the function `compute_1` will be removed to deduplicate
    // the functions invoked by BatchFunction with the same shared_name and the
    // function `compute_2` will not be removed as the shared_name is different.
    
    // CHECK-LABEL: func private @batch_0
    // CHECK: f = @compute_0
    func.func private @batch_0(%arg0: tensor<?x?xi32>) -> tensor<*xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/analysis/tensor_array_side_effect_analysis.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/compiler/mlir/tfrt/analysis/tensor_array_side_effect_analysis.h"
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Interfaces/SideEffectInterfaces.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 16 01:49:07 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_platform_info_test.cc

    #include "tensorflow/core/platform/status_matchers.h"
    #include "tensorflow/core/platform/statusor.h"
    #include "tensorflow/core/protobuf/error_codes.pb.h"
    #include "tensorflow/core/tfrt/common/create_pjrt_client_util.h"
    #include "tensorflow/core/tfrt/common/pjrt_util.h"
    #include "tensorflow/core/tpu/tpu_defs.h"
    
    namespace tensorflow {
    namespace {
    using XlaDeviceCompiler =
        DeviceCompiler<xla::LocalExecutable, xla::LocalClient>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_identity_propagation.mlir

    // RUN: tf-tfrt-opt %s -tf-identity-propagation -canonicalize | FileCheck %s
    
    // CHECK-LABEL: func @identity
    // CHECK-SAME:    (%[[ARG0:.*]]: tensor<i32>)
    func.func @identity(%arg0: tensor<i32>) -> tensor<i32> {
      // CHECK-NOT: "tf.Identity"
      %0 = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
      // CHECK: return %[[ARG0]]
      func.return %0 : tensor<i32>
    }
    
    // CHECK-LABEL: func @identity_terminator
    // CHECK-SAME:    (%[[ARG0:.*]]: tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Mar 23 23:34:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/backend_compiler.h

    #define TENSORFLOW_COMPILER_MLIR_TFRT_BACKEND_COMPILER_H_
    
    #include "absl/status/status.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/DialectRegistry.h"  // from @llvm-project
    #include "tensorflow/core/tfrt/runtime/runtime.h"
    
    namespace tensorflow {
    
    class BackendCompiler {
     public:
      virtual ~BackendCompiler();
    
      virtual void GetDependentDialects(mlir::DialectRegistry& registry) const {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 10 10:31:36 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

    #include "xla/pjrt/pjrt_api.h"
    #include "xla/pjrt/pjrt_c_api_client.h"
    #include "xla/shape.h"
    #include "xla/shape_util.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/tfrt/common/async_value_tensor.h"
    #include "tensorflow/core/tfrt/common/pjrt_util.h"
    #include "tsl/lib/core/status_test_util.h"
    #include "tsl/platform/casts.h"
    #include "tsl/platform/status_matchers.h"
    #include "tsl/protobuf/error_codes.pb.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 16:29:40 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/mlrt/rewrite_ifrt_load_variable.mlir

    // RUN: tf-tfrt-opt -split-input-file -tf-mlrt-rewrite-ifrt-load-variable %s | FileCheck %s
    
    // Variable is used by both CPU and TPU
    //
    // CHECK-LABEL: func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32>
    // CHECK-NEXT:    [[HANDLE:%.*]] = "tf.VarHandleOp"()
    // CHECK-NEXT:    [[ARRAYKEY:%.*]], [[FURTURE:%.*]] = "tf_mlrt.tf_ifrt_load_variable"([[HANDLE]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.h

      static llvm::StringRef getDialectNamespace() { return "tf_mlrt_tpu"; }
    };
    
    }  // namespace tf_mlrt_tpu
    }  // namespace tensorflow
    
    #define GET_OP_CLASSES
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top