Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,029 for OP (0.05 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

    namespace {
    
    // Returns true if the given op is TF/XLA communication op in the old bridge.
    bool IsCommunicationOp(Operation* op) {
      return isa<TF::XlaHostComputeOp, TF::XlaSendToHostOp, TF::XlaRecvFromHostOp>(
          op);
    }
    
    // Returns true if the given op is one of ops supported to have communication
    // subcomputation in the TF/XLA bridge.
    bool SupportsCommunicationComputation(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go

    			op = op[:len(op)-1] + "CC"
    		}
    	}
    	// laid out the instruction
    	switch inst.Op {
    	default: // dst, sA, sB, ...
    		switch len(args) {
    		case 0:
    			return op
    		case 1:
    			return fmt.Sprintf("%s %s", op, args[0])
    		case 2:
    			if inst.Op == COPY || inst.Op == PASTECC {
    				return op + " " + args[0] + "," + args[1]
    			}
    			return op + " " + args[1] + "," + args[0]
    		case 3:
    			if reverseOperandOrder(inst.Op) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

              UpdateSideEffectsByResourceId(entry.second, op_side_effect_map_[op]);
            }
          }
        }
      }
    
      // Collects op-based side effects for `op` in `op_side_effect_map_[op]`.
      void CollectOpSideEffects(Operation* op) {
        if (!MayHaveSideEffect(op)) return;
        // Skip following ops to avoid that every island, graph and function is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc

      llvm::SetVector<Operation*> ops_depend_on_cluster;
      for (Operation& op : *c.ops.front()->getBlock()) {
        if (op.isBeforeInBlock(c.ops.front()) || c.ops.contains(&op)) {
          continue;
        }
        // Gets the live in values of the `op`
        llvm::SetVector<Value> live_ins(op.operand_begin(), op.operand_end());
        getUsedValuesDefinedAbove(op.getRegions(), live_ins);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 28 00:32:55 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc

        if (isa<TF::TPUCopyWithDynamicShapeOp>(op)) {
          if (failed(CheckOpIsValid(op))) return WalkResult::interrupt();
          if (CanMove(op)) {
            tpu_copy_with_dynamic_shape_ops.push_back(op);
          }
        }
        return WalkResult::advance();
      });
      if (walk_result.wasInterrupted()) return signalPassFailure();
    
      for (Operation* op : tpu_copy_with_dynamic_shape_ops) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/materialize_mlir_passthrough_op.cc

        if (!main) {
          op->emitError() << "MLIR Opaque Op expects a main() entry point\n";
          return;
        }
        if (main.getNumArguments() != op->getNumOperands()) {
          op->emitError() << "mismatch between MLIR Opaque Op number of operands ("
                          << op->getNumOperands()
                          << ") and main() entry point in the module ("
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc

      llvm::DenseSet<Block*> blocks;
      Operation* op = bottom;
      while (op && op != top) {
        blocks.insert(op->getBlock());
        op = op->getParentOp();
      }
      return blocks;
    }
    
    // For a given value defined somewhere underneath `target_blocks`, get the
    // result that's emitted through the op(s) that wrap it, in one of the
    // `target_blocks`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/hoist_loop_invariant.cc

    }
    
    bool ShouldMoveOutOfRegion(
        Operation *op, Region *region,
        const llvm::DenseSet<ResourceHandle> &read_only_vars) {
      return ResourceOpCanBeHoisted(op, region, read_only_vars) ||
             (isMemoryEffectFree(op) && isSpeculatable(op));
    }
    
    bool OnlyHasReadEffect(Operation *op) {
      auto interface = llvm::dyn_cast<MemoryEffectOpInterface>(op);
      if (!interface) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top