Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 261 for getFlow (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc

      // Every ModuleOp has at least one region and one block.
      Block* first_block = &module->getRegion(0).front();
      builder.setInsertionPointToEnd(first_block);
      auto func = builder.create<mlir::func::FuncOp>(
          ops[0]->getLoc(), dialect.str() + std::to_string(function_id),
          builder.getFunctionType(input_types, output_types));
      func->setAttr("dialect", builder.getStringAttr(dialect));
      auto block = func.addEntryBlock();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc

        // TODO: Map to a qbarrier with an attribute like [Forced] to signal that
        // this is a forced/hard-coded constraint.
        auto qbarrier = rewriter.create<QuantizeCastOp>(op.getLoc(), quantizedType,
                                                        op.getInputs());
        rewriter.replaceOpWithNewOp<DequantizeCastOp>(op, converter.input_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/split_into_island_per_op_pass.cc

      tf_executor::YieldOp yield = island.GetYield();
      if (yield.getNumOperands() == 0) {
        builder.create<TF::NoOp>(island.getLoc(), TypeRange{}, ValueRange{});
      } else if (yield.getNumOperands() == 1) {
        Value operand = yield.getOperand(0);
        auto identity = builder.create<TF::IdentityOp>(island.getLoc(),
                                                       operand.getType(), operand);
        yield.setOperand(0, identity.getOutput());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

        auto pi = builder.create<TF::TPUPartitionedInputV2Op>(
            op.getLoc(), op.getType(), op.getOperands(),
            builder.getI64ArrayAttr(partition_dims), builder.getBoolAttr(false),
            op.get_XlaShardingAttr());
        op->replaceAllUsesWith(pi);
      } else {
        auto po = builder.create<TF::TPUPartitionedOutputV2Op>(
            op.getLoc(), op.getResultTypes(), op.getOperand(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        FilterOutBlockArgControlDep(op->getOperands().drop_front(), new_operands);
    
        auto source_op = builder.create<tf_executor::NextIterationSourceOp>(
            op->getLoc(), op->getOperand(0).getType());
        builder.create<tf_executor::NextIterationSinkOp>(
            op->getLoc(), source_op.getToken(), /*input=*/op->getOperand(0),
            /*controlInputs=*/new_operands);
        op->replaceAllUsesWith(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/Sitemap.java

     */
    package org.codelibs.fess.crawler.entity;
    
    import java.io.Serializable;
    
    /**
     * @author shinsuke
     *
     */
    public interface Sitemap extends Serializable {
    
        String getLoc();
    
        String getLastmod();
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 824 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import.cc

            op.getLoc(),
            DenseStringElementsAttr::get(
                RankedTensorType::get(static_cast<int64_t>(lines.size()),
                                      StringType::get(rewriter.getContext())),
                lines));
    
        Value value_constant_tensor = rewriter.create<arith::ConstantOp>(
            op.getLoc(), rewriter.getI64TensorAttr(line_nums));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

    std::pair<std::string, std::string> GetFuncNameAndNodeName(
        TF::PartitionedCallOp call_op, const FlatSymbolRefAttr &f_attr) {
      std::optional<QuantizationUnitLoc::QuantizationUnit> quant_unit =
          FindQuantizationUnitFromLoc(call_op->getLoc());
      return std::make_pair(quant_unit->func_name(), quant_unit->node_name());
    }
    
    std::pair<std::string, std::string> GetFuncNameAndNodeName(
        TF::XlaCallModuleOp call_op, const FlatSymbolRefAttr &f_attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

        return failure();
      }
      auto op = builder.create<CustomOp>(
          func_.getLoc(), func_.getFunctionType().getResults(),
          func_.getArguments(), kMaxUnpooling,
          CustomOption(&builder, custom_option_buffer));
      builder.create<func::ReturnOp>(func_.getLoc(), op.getResults());
    
      return success();
    }
    
    LogicalResult ConvertMaxUnpoolingFunc::VerifySignature() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils_test.cc

      OpBuilder builder(&module->getBodyRegion());
      context.loadDialect<TF::TensorFlowDialect>();
    
      Value value = CreateConstValue<int8_t>(builder, module->getLoc(),
                                             unpacked_shape, unpacked_values);
      Value packed_value = PackOperand(builder, module->getLoc(), value, pack_dim);
      DenseIntElementsAttr packed_value_attr;
      ASSERT_TRUE(matchPattern(packed_value, m_Constant(&packed_value_attr)));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top