Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 877 for OP (0.17 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go

    		}
    		if rno <= WZR {
    			op = op + "W"
    		} else if rno >= S0 && rno <= S31 {
    			op = "F" + op + "S"
    		} else if rno >= D0 && rno <= D31 {
    			op = "F" + op + "D"
    		} else if rno >= Q0 && rno <= Q31 {
    			op = "F" + op + "Q"
    		}
    		op = op + suffix
    		if inst.Op.String() == "STP" {
    			return op + " " + args[0] + ", " + args[1]
    		} else {
    			return op + " " + args[1] + ", " + args[0]
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 17K 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/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)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

          return failure();
        }
        element_type = getElementTypeOrSelf(op->getOperand(1).getType());
      }
      if (attr == "output_quantization") {
        if (op->getNumResults() < 1) {
          return failure();
        }
        element_type = getElementTypeOrSelf(op->getOpResult(0).getType());
      }
      if (element_type) {
        is_8_bit = mlir::isa<TF::Qint8Type>(element_type);
        return success();
      }
    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/quantization/tensorflow/utils/tf_to_uniform_attribute_utils_test.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

          return states_[operand_states_[{op, index}]];
        }
    
        // Returns the state of the index-th result of the op.
        QuantState &GetResultQuantState(Operation *op, int index) {
          return states_[result_states_[{op, index}]];
        }
    
        // Returns the state of the index-th operand of the op.
        RequantizeState &GetOperandRequantizeState(Operation *op, int index) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

        }
        auto arg_type = cast<func::FuncOp>(op).getArgument(arg_index).getType();
        return VerifyBoundInputArgType(op, arg_type, symbol_op);
      }
      if (named_attr.getName() == kTfSavedModelIndexPathAttr) {
        return VerifyIndexPath(op, named_attr);
      }
    
      return op->emitError() << "unknown tf_saved_model dialect arg attribute '"
                             << named_attr.getName().getValue() << "'";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top