Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 311 for LogicalResult (0.56 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

              return LogicalResult::failure();
            }
          } else if (!non_tpu_ops.contains(operand.get().getDefiningOp())) {
            return_op.emitOpError()
                << "non TPU ops do not divide state into two pieces.";
            return LogicalResult::failure();
          }
        }
      }
      return LogicalResult::success();
    }
    
    LogicalResult ExtractOpsAsFunc(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/core/common_runtime/device.h"
    #include "tensorflow/core/common_runtime/device_set.h"
    #include "tensorflow/core/util/device_name_utils.h"
    
    namespace tensorflow {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

          return failure();
        }
      }
    
      LogicalResult matchAndRewrite(TF::IfOp ifop,
                                    PatternRewriter& rewriter) const override {
        bool success =
            succeeded(adjustBranch(ifop, ifop.then_function(), rewriter)) ||
            succeeded(adjustBranch(ifop, ifop.else_function(), rewriter));
        return LogicalResult::success(success);
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

              return LogicalResult::failure();
            }
          } else if (!non_tpu_ops.contains(operand.get().getDefiningOp())) {
            return_op.emitOpError()
                << "non TPU ops do not divide state into two pieces.";
            return LogicalResult::failure();
          }
        }
      }
      return LogicalResult::success();
    }
    
    LogicalResult ExtractOpsAsFunc(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

    #include "mlir/IR/OpDefinition.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/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/lite/c/builtin_op_data.h"
    
    namespace mlir {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/IR/Types.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_device.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

          attrs.push_back(rewriter.getNamedAttr(
              attr_minmax, rewriter.getI64IntegerAttr(quant_val)));
        }
      }
      return success();
    }
    
    // This LogicalResult covers both the hybrid and fully quantized op cases.
    LogicalResult FillAttributesForUniformQuantizedDotOp(
        PatternRewriter& rewriter, Operation* op,
        llvm::StringMap<Attribute>& identifier_to_attr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      }
    
      return success();
    }
    
    LogicalResult UnsortedSegmentMaxOp::verify() {
      return VerifyUnsortedSegmentReduction(*this);
    }
    LogicalResult UnsortedSegmentMinOp::verify() {
      return VerifyUnsortedSegmentReduction(*this);
    }
    LogicalResult UnsortedSegmentProdOp::verify() {
      return VerifyUnsortedSegmentReduction(*this);
    }
    LogicalResult UnsortedSegmentSumOp::verify() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/utils/fill_quantization_options.h

    QuantizationOptions FillPresetQuantizationOptions(
        QuantizationOptions quantization_options);
    
    // Returns LogicalResult depending on the look up of activation bit width in the
    // custom quantization method. If such information exists, returns success,
    // otherwise, returns false.
    LogicalResult GetActivationBitWidth(QuantizationOptions quantization_options,
                                        int* bit_width);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 07:43:59 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

     private:
      // Assign the io types from the command line flag. This is only required for
      // tests.
      LogicalResult SetupInputOutputTypesIfNull(OpBuilder builder);
    
      // Modifies the element types of entry block arguments to be user specified
      // and returns  the new argument types.
      LogicalResult ModifyInputNodes(func::FuncOp func,
                                     llvm::SmallVectorImpl<Type>& new_input_types,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top