Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,647 for OP (0.03 sec)

  1. src/cmd/compile/internal/ssa/op.go

    	usesScratch       bool      // this op requires scratch memory space
    	hasSideEffects    bool      // for "reasons", not to be eliminated.  E.g., atomic store, #19182.
    	zeroWidth         bool      // op never translates into any machine code. example: copy, which may sometimes translate to machine code, is not zero-width.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/addressingmodes.go

    	[2]Op{OpAMD64MOVWload, OpAMD64LEAQ1}:  OpAMD64MOVWloadidx1,
    	[2]Op{OpAMD64MOVWload, OpAMD64LEAQ2}:  OpAMD64MOVWloadidx2,
    	[2]Op{OpAMD64MOVLload, OpAMD64LEAQ1}:  OpAMD64MOVLloadidx1,
    	[2]Op{OpAMD64MOVLload, OpAMD64LEAQ4}:  OpAMD64MOVLloadidx4,
    	[2]Op{OpAMD64MOVLload, OpAMD64LEAQ8}:  OpAMD64MOVLloadidx8,
    	[2]Op{OpAMD64MOVQload, OpAMD64LEAQ1}:  OpAMD64MOVQloadidx1,
    	[2]Op{OpAMD64MOVQload, OpAMD64LEAQ8}:  OpAMD64MOVQloadidx8,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

            op, op.getOutput().getType(), op.getScales(), op.getZeroPoints(),
            /*expressed_type=*/rewriter.getF32Type(), op.getQuantizationMinVal(),
            op.getQuantizationMaxVal(), op.getQuantizationAxis(), rewriter);
        if (failed(output_type)) {
          return failure();
        }
    
        auto result = rewriter.create<mhlo::UniformQuantizeOp>(
            op->getLoc(), *output_type, op.getInput());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

          op.replaceAllUsesWith(op.getOperands());
          op.erase();
        }
      }
    }
    
    using LocalVarOp = std::variant<TF::VarHandleOp, TF::MlirLocalVarOp>;
    
    Value LocalVarOp_resource(LocalVarOp &op) {
      if (auto var_handle_op = std::get_if<TF::VarHandleOp>(&op)) {
        return var_handle_op->getResource();
      } else {
        return std::get<TF::MlirLocalVarOp>(op).getResource();
      }
    }
    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/tensorflow/transforms/tpu_validate_inputs.cc

          isa<TF::TPUReplicatedInputOp>(op) || isa<TF::TPUReplicatedOutputOp>(op) ||
          isa<TF::TPUPartitionedInputOp>(op) ||
          isa<TF::TPUPartitionedInputV2Op>(op) ||
          isa<TF::TPUPartitionedOutputOp>(op) ||
          isa<TF::TPUPartitionedOutputV2Op>(op))
        return true;
      if (IsMustBeXlaOp(op, metadata_map) && IsMustNotBeXlaOp(op)) {
        // TODO(b/269195256#comment19) change the warning for Identity op to error
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

      LogicalResult match(stablehlo::ReshapeOp op) const override {
        return success(IsOpFullyQuantized(op));
      }
    
      void rewrite(stablehlo::ReshapeOp op,
                   PatternRewriter& rewriter) const override {
        rewriter.replaceOpWithNewOp<TFL::ReshapeOp>(
            op, op.getOperand(),
            CreateI32ShapeConstantOp(op.getResult().getType(), op->getLoc(),
                                     rewriter));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

      rewriter.replaceAllUsesWith(op.getResult(), output_transpose_op);
    }
    
    // "Climbs up" the `op` if `op` is a `BraodcastInDimOp` and returns the defining
    // op of its operand. Returns `op` otherwise. May return `nullptr` when the
    // `BroadcastInDimOp`'s operand is a block argument.
    absl::Nullable<Operation*> SkipUpwardsOptionalBroadcastInDimOp(
        absl::Nonnull<Operation*> op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

                  {static_cast<int64_t>(op->base_dilations.size())},
                  op->base_dilations, builder)));
        }
        if (!op->window_dilations.empty()) {
          attributes.emplace_back(builder.getNamedAttr(
              "window_dilations",
              BuildVhloTensorV1Attr(
                  {static_cast<int64_t>(op->window_dilations.size())},
                  op->window_dilations, builder)));
        }
        if (!op->padding.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

                                                                          rewriter))
        return success();
      return failure();
    }
    
    LogicalResult ConvertTFMatMulOp::matchAndRewrite(
        Operation* op, PatternRewriter& rewriter) const {
      auto tf_matmul_op = cast<TF::MatMulOp>(op);
      auto lhs = op->getOperand(0);
      auto rhs = op->getOperand(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

        markUnknownOpDynamicallyLegal([this](Operation *op) {
          // Consider UQ op legal if it has a CastOp next to the qint input/output.
          if (IsTFUniformQuantizedOp(op)) {
            return IsTFUniformQuantizedOpLegal(op);
          } else if (auto cast_op = llvm::dyn_cast<TF::CastOp>(op)) {
            return IsCastOpLegal(cast_op);
          } else if (auto const_op = llvm::dyn_cast<TF::ConstOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top