Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for Dadd (0.03 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.cc

          if (memory_bandwidth >= 0) {
            builder.set_memory_bandwidth(memory_bandwidth);
          }
        }
        // TODO(annarev): Add gflops field in DeviceDescription and set it here.
        // TODO(annarev): Perhaps add `supports_unified_memory` in
        // DeviceDescription.
        return builder.Build();
      }
    
      absl::StatusOr<std::unique_ptr<Event>> CreateEvent() override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

        // fixed_point = clamp(clamp_min, clamp_max, (
        //   roundHalfToEven(expressed / scale) + zero_point))
        APFloat scaled = (expressed_value / scale_);
        scaled.roundToIntegral(round_mode_);
        scaled.add(zero_point_, round_mode_);
        APFloat fixed_point = llvm::minimum(scaled, clamp_max_);
        fixed_point = llvm::maximum(fixed_point, clamp_min_);
    
        llvm::APSInt result(storage_bit_width_, !is_signed_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

    // limitations under the License.
    
    // Revision History
    // Version 0: Initial version.
    // Version 1: Add subgraphs to schema.
    // Version 2: Rename operators to conform to NN API.
    // Version 3: Move buffer data from Model.Subgraph.Tensors to Model.Buffers.
    // Version 3a: Add new builtin op code field. Has backward compatibility with
    //             version 3.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/cc_op_gen_util.cc

                           graph_op_def.deprecation().version(), ":\n",
                           graph_op_def.deprecation().explanation(), ".\n");
      } else if (api_def.summary().empty()) {
        comment = "TODO: add doc.\n";
      } else {
        comment = strings::StrCat(api_def.summary(), "\n");
      }
      if (!api_def.description().empty()) {
        strings::StrAppend(&comment, "\n", api_def.description(), "\n");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      OperationState new_state(loc, tf_op_name, inputs, output_types, attr_list);
      Operation* new_op = rewriter.create(new_state);
      if (materialize_derived_attrs_) {
        for (const auto& attr : derived_attrs) {
          // Add or update the derived attribute with the value. Skip the fixed
          // element type attributes, in case they are present in the NodeDef.
          if (!fixed_elt_type_attrs_.contains(attr.first())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

    };
    
    void DeferActivationTransposePass::runOnOperation() {
      func::FuncOp func_op = getOperation();
      MLIRContext& ctx = getContext();
    
      RewritePatternSet patterns(&ctx);
      patterns.add<DeferActivationTransposeForAddOp,
                   DeferActivationTransposeForMaxPoolReduceWindowOp,
                   DeferActivationTransposeForMaxOp>(&ctx);
      if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

          for (const auto& enumerated_result :
               llvm::enumerate(candidate_op->getResults())) {
            Value result = enumerated_result.value();
            Type result_type = result.getType();
            // Add this to the test coverage once we create test ops with none type
            // results.
            if (mlir::isa<NoneType>(result_type)) {
              outputs_replaced.insert({result, enumerated_result.index()});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

    void PrepareQuantizeDRQPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      RewritePatternSet patterns(ctx);
      ModuleOp module_op = getOperation();
    
      populateWithGenerated(patterns);
      patterns.add<PrepareDRQQuantizableOp>(ctx, quant_specs_, op_set_,
                                            enable_per_channel_quantization_);
      FrozenRewritePatternSet frozen_patterns(std::move(patterns));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc

        const auto& api_def_attr(op_info.api_def.attr(i));
        // Skip inferred arguments
        if (op_info.inferred_input_attrs.count(attr.name()) > 0) continue;
        // Skip if it has default value (TODO(unda, b/249345399): add our custom
        // values)
        if (api_def_attr.has_default_value()) continue;
        // TODO(unda, b/253432797): handle unimplemented input attribute types
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 16:26:51 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

                                   OpType& found_op) {
      // Find the TPUReplicationMetadata or TPUCompilationResult ops which will be
      // cloned/inserted into each region. We add them to the merged_set so that
      // they're ignored when extracting the four main functions.
      found_op = nullptr;
      for (OpType op : func.getOps<OpType>()) {
        if (found_op != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top