Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 230 for LogicalResult (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.cc

    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "tensorflow/compiler/tf2xla/tf2xla_defs.h"
    
    namespace mlir {
    namespace TF {
    
    using ::tensorflow::kValidDeviceTypes;
    
    LogicalResult HasValidCompilationAndReplicationAttributes(Operation& op) {
      auto replicate_attr = op.getAttrOfType<StringAttr>(kReplicationInfoAttr);
      auto compile_attr = op.getAttrOfType<StringAttr>(kCompileDeviceTypeAttr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/TypeUtilities.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/jit/flags.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

          Value stb_block_shape, Value bts_block_shape, int64_t expand_axis,
          PatternRewriter& rewriter) const;
    
     public:
      LogicalResult matchAndRewrite(Conv2dOpTy op,
                                    PatternRewriter& rewriter) const override;
    };
    
    template <typename Conv2dOpTy>
    LogicalResult ConvertTFDilatedConvOp<Conv2dOpTy>::matchAndRewrite(
        Conv2dOpTy op, PatternRewriter& rewriter) const {
      if (!op.getResult().hasOneUse()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      });
    
      return failure(walk_result.wasInterrupted());
    }
    
    }  // anonymous namespace
    
    namespace TF {
    
    LogicalResult CleanupAndCanonicalizeForResourceOpLifting(func::FuncOp func) {
      return CleanupAndCanonicalize(func);
    }
    
    LogicalResult CleanupAndCanonicalizeForResourceOpLifting(ModuleOp module) {
      auto walk_result = module.walk([](tf_device::ClusterOp cluster) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      // TF op.
      LogicalResult CollectInputsAndAttributes(
          PatternRewriter& rewriter, TFRFuncOp signature, CallOp call_op,
          SmallVectorImpl<Value>* inputs, NamedAttrList* arg_attrs,
          llvm::StringMap<Attribute>* derived_attrs) const;
    
      // Uses the collected attribute values to derive all the output types.
      LogicalResult DeriveOutputTypes(Location loc, FunctionType signature,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

    };
    
    LogicalResult DecomposeStackOpsInternal(
        Block*, ModuleOp, llvm::SmallDenseMap<Value, Value>*,
        llvm::StringMap<PartitionedCallStackOpsInfo>*);
    
    // Handles stack usage by a tf.While. It will convert the body and conditional
    // function signatures, and performs stack ops decomposition on them.
    LogicalResult HandleWhileOp(
        TF::WhileOp while_op, ModuleOp module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/Types.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "xla/client/sharding_builder.h"
    #include "xla/service/hlo_parser.h"
    #include "xla/xla_data.pb.h"
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    // is the associated virtual device name (`TPU_REPLICATED_HOST_i`).
    mlir::LogicalResult GetDeviceToHostMap(
        mlir::tf_device::ClusterOp cluster,
        llvm::SmallVector<std::string, 8>& core_to_host);
    
    // Returns the first TPU device, for use in the non-replicated case. The list of
    // TPU devices is retrived from `op`'s module ancestor.
    mlir::LogicalResult GetNonReplicatedTPU0(mlir::Operation* op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.cc

    #include "absl/container/flat_hash_set.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/common/lift_as_function_call.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

    #include "mlir/Interfaces/CallInterfaces.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
    #include "tensorflow/compiler/mlir/lite/utils/lstm_utils.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top