Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 194 for TFRT (0.04 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc

    ==============================================================================*/
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.h"
    
    #include <utility>
    
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    
    namespace tfrt {
    namespace fallback_common {
    
    void GetExecuteOpAttrsCommon(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.h

    #include "mlir/Interfaces/SideEffectInterfaces.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_side_effects.h"
    #include "tfrt/compiler/opdefs/tfrt_op_interfaces.h"  // from @tf_runtime
    #include "tfrt/compiler/opdefs/tfrt_traits.h"  // from @tf_runtime
    
    namespace tensorflow {
    namespace tf_mlrt {
    
    class TensorflowMlrtDialect : public mlir::Dialect {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_util.cc

    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_util.h"
    
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.h"
    
    namespace tfrt {
    namespace fallback_async {
    
    bool IsArgConsumedByFallback(mlir::func::FuncOp func, int arg_index) {
      auto arg = func.getArgument(arg_index);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 02:12:49 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.h

    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    #include "tfrt/bef/bef_buffer.h"  // from @tf_runtime
    #include "tfrt/core_runtime/tensor_handle.h"  // from @tf_runtime
    
    namespace tfrt {
    class CoreRuntime;
    }
    
    namespace mlir {
    class ModuleOp;
    }
    
    namespace tensorflow {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 17:42:41 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

    // implementation available only in TFRT.
    
    #ifndef TFRT_OPS
    #define TFRT_OPS
    
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td"
    include "mlir/IR/OpBase.td"
    
    def TF__TfrtSetResourceOp : TF_Op<"_TfrtSetResource", []> {
      let summary = "Set values as TFRT runtime's static resource.";
    
      let description = [{
        Setting a tensor value in TFRT runtime's static resource manager, using
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.h

    #include "mlir/IR/TypeUtilities.h"  // from @llvm-project
    #include "mlir/Interfaces/SideEffectInterfaces.h"  // from @llvm-project
    #include "tfrt/tensor/opdefs/tensor.h"  // from @tf_runtime
    
    namespace mlir {
    namespace tfd {
    
    // Dialect for TFRT delegate operations.
    class RuntimeFallbackDialect : public Dialect {
     public:
      explicit RuntimeFallbackDialect(MLIRContext* context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 20 20:56:11 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      // Following are helper functions to assist integrating TFRT with current
      // TF eager runtime.
      // TODO(b/172877902): These helper functions are currently used to support
      // PyFuncOp on TFRT, and might be useful for ops that directly use low
      // level TF APIs. Remove/replace the following functions when TFRT native
      // ops are implemented.
      //===--------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/errors.mlir

    // RUN: tf-tfrt-opt -tf-to-tfrt %s -split-input-file -verify-diagnostics
    
    // expected-error @+1 {{failed to legalize operation 'func.func' that was explicitly marked illegal}}
    func.func @test_identity_wrong_type(%arg0: tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref> {
      %0 = "tf.SomeOp"(%arg0) : (tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref>
      func.return %0 : tensor<4x2x!tf_type.stringref>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:51:48 UTC 2022
    - 428 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

    #include "tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.h"
    
    #include <algorithm>
    #include <string>
    #include <utility>
    
    #include "absl/container/flat_hash_map.h"
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tfrt/constants.h"
    #include "tensorflow/core/tfrt/fallback/cost_recorder.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/batch_function_fallback_resource_variable_as_captured_tensor.mlir

    // RUN: tf-tfrt-opt -pass-pipeline='builtin.module(tf-executor-to-tfrt-pipeline{target-tpurt=true})' %s | FileCheck %s
    
    module attributes {tf_saved_model.semantics}  {
      // CHECK-LABEL: func @main
      func.func @main_func() -> (tensor<*xf32> {tf_saved_model.index_path = ["a"]}) attributes {tf_saved_model.exported_names = ["main_func"]} {
        %0 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top