Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 194 for TFRT (0.03 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/batch_function_deduplicate_failed.mlir

    // RUN: not tf-tfrt-opt -tfrt-deduplicate-functions-invoked-by-batch-function %s 2>&1 | FileCheck %s
    
    // This test verifies the error when two functions are different but invoked by
    // the batch functions with same shared_name.
    
    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
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/analysis/test_tensor_array_side_effect_analysis.cc

    ==============================================================================*/
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tfrt/analysis/tensor_array_side_effect_analysis.h"
    
    namespace tensorflow {
    namespace tfrt_compiler {
    namespace {
    
    class TestTensorArraySideEffectAnalysis
        : public mlir::PassWrapper<TestTensorArraySideEffectAnalysis,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 10 21:32:05 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/reconfig_batch_op.mlir

    // RUN: tf-tfrt-opt -split-input-file -tfrt-reconfig-batch-op="tfrt-min-num-batch-threads=2 tfrt-min-max-enqueued-batches=3" %s | FileCheck %s --dump-input=always
    
    // -----
    
    // The num_batch_threads is lowered bound to 2 from the original attribute of 1
    
    // CHECK-LABEL: func private @batched_function
    func.func private @batched_function(%arg0: tensor<1x3xf32>) -> tensor<1x3xf32> {
      %2 = "tf.Identity"(%arg0) : (tensor<1x3xf32>) -> tensor<1x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 17:38:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/runtime_lowering_tpu.mlir

    // RUN: tf-tfrt-opt -tfrt-lower-cluster-to-runtime-ops-tpu -split-input-file -verify-diagnostics %s | FileCheck %s
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
    
      // CHECK-LABEL: @converts_cluster
      func.func @converts_cluster() {
        // CHECK: %0:2 = "tf_device.launch"() <{{.*}}> ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.h"
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      return tensorflow::io::JoinPath(tensorflow::testing::TensorFlowSrcRoot(),
                                      kTestData, saved_model_dir);
    }
    
    // This value parameterized test allows us to test both TFRT
    // and non TFRT runtimes.
    // https://github.com/google/googletest/blob/dcc92d0ab6c4ce022162a23566d44f673251eee4/googletest/docs/advanced.md#value-parameterized-tests
    class CSavedModelAPITest : public ::testing::TestWithParam<bool> {};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_util.h

    #define TENSORFLOW_COMPILER_MLIR_TFRT_IR_TFRT_FALLBACK_UTIL_H_
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    
    namespace tfrt {
    namespace fallback_async {
    
    bool IsArgConsumedByFallback(mlir::func::FuncOp func, int arg_index);
    
    void ForEachArgConsumedByFallback(
        mlir::func::FuncOp func, llvm::function_ref<void(int arg_index)> action);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/derived_attrs.mlir

    // RUN: tf-tfrt-opt -tf-to-tfrt %s | FileCheck %s --dump-input=fail
    
    // CHECK-LABEL: func @derived_attrs
    func.func @derived_attrs(
      %serialized: tensor<?x!tf_type.string>,
      %names: tensor<0x!tf_type.string>,
      %sparse_keys: tensor<0x!tf_type.string>,
      %dense_keys: tensor<1x!tf_type.string>,
      %ragged_keys: tensor<0x!tf_type.string>,
      %dense_default: tensor<0xi64>) -> tensor<?xi64> {
    
      %dense_value =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 959 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/analysis/test_cost_analysis_pass.cc

    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.h"
    
    namespace tensorflow {
    namespace tfrt_compiler {
    
    class TestCostAnalysis
        : public mlir::PassWrapper<TestCostAnalysis,
                                   mlir::OperationPass<mlir::func::FuncOp>> {
      llvm::StringRef getArgument() const final {
        return "tfrt-test-cost-analysis";
      }
      llvm::StringRef getDescription() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 23:46:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_platform_info.cc

    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/tfrt/common/create_pjrt_client_util.h"
    #include "tensorflow/core/tfrt/common/global_state.h"
    #include "tensorflow/core/tfrt/common/pjrt_util.h"
    #include "tensorflow/core/tpu/tpu_defs.h"
    #include "tsl/framework/device_type.h"
    
    namespace tensorflow {
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 17:23:27 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top