Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for resolveOperands (0.18 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc

      if (num_results < 0) return mlir::failure();
    
      llvm::SmallVector<mlir::Type, 4> operand_types;
      if (options.has_chain) operand_types.push_back(chain_type);
      if (parser.resolveOperands(in_chains, operand_types, loc, result.operands) ||
          parser.resolveOperands(operands, tensor_type, result.operands))
        return mlir::failure();
    
      if (options.has_chain) result.types.push_back(chain_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      if (parser.parseOperandList(op_infos, OpAsmParser::Delimiter::OptionalParen))
        return failure();
      if (!op_infos.empty()) {
        SmallVector<Type, 2> types(op_infos.size(), control_type);
        if (parser.resolveOperands(op_infos, types, loc, result.operands))
          return failure();
      }
    
      // Parse the body region.
      Region &body = *result.addRegion();
    
      if (succeeded(parser.parseOptionalKeyword("wraps"))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

                 << " to be 'n' (" << *n << "), got " << replicated_input.size();
    
        // Resolve replicated input and block argument type.
        if (parser->resolveOperands(replicated_input, region_arg_types[idx],
                                    state->operands))
          return failure();
      }
    
      const int32_t num_replicated_block_args = replicated_inputs.size();
    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/lite/ir/tfl_ops.cc

      }
      Type type;
      return failure(parser.parseOperandList(ops) ||
                     parser.parseOptionalAttrDict(result.attributes) ||
                     parser.parseColonType(type) ||
                     parser.resolveOperands(ops, type, result.operands) ||
                     parser.addTypeToList(type, result.types));
    }
    
    void printOneResultOp(Operation* op, OpAsmPrinter& p) {
      assert(op->getNumResults() == 1 && "op should have one result");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

        return mlir::failure();
    
      auto &chain = chain_and_allocator[0];
      auto &allocator = chain_and_allocator[1];
    
      if (parser.resolveOperand(chain, builder.getType<compiler::ChainType>(),
                                result.operands))
        return mlir::failure();
    
      if (parser.resolveOperand(allocator,
                                builder.getType<fallback::TFAllocatorType>(),
                                result.operands))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
Back to top