Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 843 for OP (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/cc/gradients/array_grad.cc

                                             const Operation& op,
                                             const std::vector<Output>& grad_inputs,
                                             std::vector<Output>* grad_outputs) {
      Input input = Shape(scope, op.input(0));
      Input input_min = op.input(1);
      Input input_max = op.input(2);
      int64_t axis;
      TF_RETURN_IF_ERROR(GetNodeAttr(op.node()->attrs(), "axis", &axis));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

      // `op`, and bypass all result transposes.
      Location loc = op->getLoc();
    
      // Move constant op defining result permutation to the beginning of the block.
      permutation_op.getOperation()->moveBefore(&op->getBlock()->front());
    
      // Bypass Transpose nodes for all results.
      for (OpResult result : op->getResults()) {
        result.setType(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top