Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for setLoc (0.14 sec)

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

          if (ClusterFuncHasResourceRead(cluster_func, resource_and_type.resource))
            continue;
          auto new_read = builder.create<TF::ReadVariableOp>(
              resource_and_type.resource.getLoc(), resource_and_type.subtype,
              resource_and_type.resource);
          read_operands.push_back(new_read.getValue());
        }
    
        if (read_operands.empty()) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_cluster_formation.cc

      auto cluster = builder.create<mlir::tf_device::ClusterOp>(
          call_op->getLoc(), call_op->getResultTypes());
      cluster.getBody().push_back(new Block);
      call_op->replaceAllUsesWith(cluster.getResults());
      call_op->moveBefore(&cluster.GetBody(), cluster.GetBody().end());
      builder.setInsertionPointToEnd(&cluster.GetBody());
      builder.create<mlir::tf_device::ReturnOp>(call_op->getLoc(),
                                                call_op->getResults());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 19:09:44 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

                for (final Sitemap sitemap : sitemapSet.getSitemaps()) {
                    if (sitemap != null) {
                        requestDataSet.add(RequestDataBuilder.newRequestData().get().url(sitemap.getLoc()).build());
                    }
                }
                throw new ChildUrlsException(requestDataSet, this.getClass().getName() + "#process");
            } catch (final IOException e) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

        // and its users.
        Value value = tf_op.getOutputs();
        auto quantize = rewriter.create<quantfork::QuantizeCastOp>(
            tf_op.getLoc(), qtype.getValue(), value);
        auto dequantize = rewriter.create<quantfork::DequantizeCastOp>(
            tf_op.getLoc(), res_type, quantize.getResult());
        value.replaceAllUsesWith(dequantize);
        quantize.getOperation()->replaceUsesOfWith(dequantize, value);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_filter.cc

          filtered_ops.push_back(func);
        }
        return;
      }
    
      llvm::Regex op_regex(tac_filter.op_filter().op_name_pattern());
      module.walk([&](Operation* op) {
        auto named_loc = mlir::dyn_cast<NameLoc>(op->getLoc());
        if (!named_loc) {
          return;
        }
        if (!op_regex.match(named_loc.getName())) {
          return;
        }
    
        op->setAttr(kSkipTargetAnnotation, builder.getUnitAttr());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

    bool EmitMustBeConstantError(Operation* op) {
      if (operations_to_skip->contains(op->getRegisteredInfo()->getTypeID())) {
        IncrementCounterFor(mlir_non_static_op_skip_count, op);
        return true;
      }
      emitError(op->getLoc()) << absl::StrCat(
          "Node `", op->getName().getStringRef().str(), "` ", kMustBeConstantError);
      return false;
    }
    
    bool IsStaticOperation(Operation* op) {
      for (auto o : op->getResults()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

        // and its users.
        auto quantize = rewriter.create<quantfork::QuantizeCastOp>(
            tf_op.getLoc(), qtype.getValue(), input);
        auto dequantize = rewriter.create<quantfork::DequantizeCastOp>(
            tf_op.getLoc(), res_type, quantize.getResult());
        tf_op.getOutputs().replaceAllUsesWith(dequantize);
    
        return success();
      }
    
      bool use_fake_quant_num_bits_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc

          ++num_unscheduled_ops;
        }
      }
      emitRemark(func.getLoc(), func.getName())
          << ": " << num_part_ops << " ops delegated out of " << num_all_ops
          << " ops with " << num_partitions_after
          << " partitions (originally: " << num_partitions_before << ")";
      if (!scheduled_everything) {
        emitError(func.getLoc(), func.getName())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc

        if (variable_name.empty()) {
          return signalPassFailure();
        }
        VarHandleOp var_handle_op = builder.create<VarHandleOp>(
            variable_v2_op.getLoc(),
            ArrayRef<Type>{RankedTensorType::get(
                {}, TF::ResourceType::get(ArrayRef<TensorType>{tensor_type},
                                          builder.getContext()))},
            ArrayRef<Value>{},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc

      if (IsKVCacheCompositeOp(composite)) {
        return builder.create<TFL::CustomOp>(
            composite->getLoc(), composite->getResultTypes(),
            composite->getOperands().slice(2, 3), composite.getName(),
            CustomOption(&builder, custom_option_buffer));
      }
      return builder.create<TFL::CustomOp>(
          composite->getLoc(), composite->getResultTypes(),
          composite->getOperands(), composite.getName(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top