Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 521 for Operands (0.13 sec)

  1. src/cmd/asm/internal/asm/asm.go

    // GLOBL shifts<>(SB),$256
    func (p *Parser) asmGlobl(operands [][]lex.Token) {
    	if len(operands) != 2 && len(operands) != 3 {
    		p.errorf("expect two or three operands for GLOBL")
    		return
    	}
    
    	// Operand 0 has the general form foo<>+0x04(SB).
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("GLOBL", &nameAddr, false) {
    		return
    	}
    	next := 1
    
    	// Next operand is the optional flag, a literal integer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc

      // Collect operands for the new merged island.
      island_operands_and_results.operands.clear();
      for (IslandOp island : merged_island.islands)
        island_operands_and_results.operands.insert(island.operand_begin(),
                                                    island.operand_end());
      for (IslandOp island : merged_island.islands)
        island_operands_and_results.operands.remove(island.getControl());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      MutableArrayRef<OpOperand> operands = GetOperandsForBlockArgument(block_arg);
      if (operands.size() == 1) return operands.front().get();
    
      return operands[replica].get();
    }
    
    // Returns the list of replica op operands that maps to the given block
    // argument. Returns list with num_replicas elements for replicated operands
    // and list with a single element for packed operands.
    //
    // Requires that block argument is of this replicate op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

        return success();
      }
    
      // Returns directly if any of the operands is not an elements attributes.
      if (std::any_of(operands.begin(), operands.end(), [](Attribute attr) {
            return !attr || !mlir::isa<ElementsAttr>(attr);
          }))
        return failure();
    
      SmallVector<ElementsAttr, 4> inputs;
      inputs.reserve(operands.size());
      for (auto input : operands) {
        inputs.push_back(mlir::cast<ElementsAttr>(input));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    // ops (like the `dim` argument for `TF::ExpandDimsOp`) determine the shape of
    // the resulting tensor. If these operands are constants, they are duplicated
    // and replace the shape-determining operands. Each duplicated constant will
    // only be used as the shape-determining operand; it will not replace other
    // usages of the original constant. If the operands are not constants (i.e.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

        llvm::SetVector<Value> operands;
        getUsedValuesDefinedAbove(island_op.getBody(), operands);
    
        SmallVector<Type, 16> func_operand_types;
        func_operand_types.reserve(operands.size());
        for (Value operand : operands)
          func_operand_types.push_back(operand.getType());
    
        // Function results are the yield operands
        SmallVector<Type, 16> func_result_types;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc

        TFE_Context* context, llvm::SmallVectorImpl<mlir::Attribute>* results) {
      if (!context) {
        VLOG(1) << "Can't evaluate with null context.";
        return mlir::failure();
      }
      // If any operand is nullptr returns true for a failure.
      // TODO(b/120678030): remove this constraint if we find operators can be
      // evaluated with some unknown operands.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 06:02:14 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      // shape tensors in variadic shapes operand.
      if (operands.size() < 3) return failure();
    
      // Check concat_dim is a scalar.
      auto concat_dim_attr =
          mlir::dyn_cast_or_null<DenseIntElementsAttr>(operands[0]);
      if (!concat_dim_attr || concat_dim_attr.getType().getRank() != 0)
        return failure();
    
      llvm::SmallVector<DenseIntElementsAttr, 4> shapes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tpu_reorder_replicate_and_partitioned_inputs.cc

      // core. j-th column holds the operands for j-th replica.
      llvm::SmallVector<llvm::SmallVector<Value, 4>, 4>
          operands_per_replica_per_core(num_cores_per_replica);
    
      // Collect all operands in the 2D matrix.
      for (auto operand : replicated_input.getInputs()) {
        Operation* pi = operand.getDefiningOp();
        for (unsigned core_id = 0; core_id < num_cores_per_replica; ++core_id) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 24 23:08:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          if (mlir::isa<NoneType>(operand.getType()))
            operands.push_back(kTfLiteOptionalTensor);
          else if (auto stats_op =
                       llvm::dyn_cast_or_null<mlir::quantfork::StatisticsOp>(
                           operand.getDefiningOp()))
            operands.push_back(tensor_index_map.lookup(stats_op.getArg()));
          else
            operands.push_back(tensor_index_map.lookup(operand));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top