Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for Dadd (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      // Then branch gets the data and calls the reduce_function.
      auto& then_branch = dataset_if.getThenBranch();
      then_branch.push_back(new Block);
      builder.setInsertionPointToEnd(&then_branch.front());
      // Add iterator operational data access inside if.
      auto get_value = builder.create<TF::OptionalGetValueOp>(loc, dataset_types,
                                                              get_next.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

        return mlir::success();
      }
    };
    
    }  // namespace
    
    void CoreRTTensorHandleToFallbackTensorOp::getCanonicalizationPatterns(
        RewritePatternSet &results, MLIRContext *context) {
      results.add<ConstCoreRTTensorHandleToFallbackTensorCanonicalization,
                  RemoveDoubleTensorConversion>(context);
    }
    
    }  // namespace fallback_async
    }  // namespace tfrt
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

        AddNodeAttr("function", function, &def);
    
        for (Node* node : nodes_to_remove) {
          VLOG(2) << "Deleting node " << node->DebugString();
          // Ensure that we do not attempt to add control edges to nodes that are
          // deleted.
          control_inputs.erase(node);
          control_outputs.erase(node);
          graph->RemoveNode(node);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/tests/device-transform-gpu.mlir

    // CHECK:           %[[VAL_3:.*]] = tfl.mul(%[[VAL_1]], %[[VAL_2]]) <{fused_activation_function = "NONE"}> : (tensor<3xf32>, tensor<f32>) -> tensor<3xf32>
    // CHECK:           %[[VAL_4:.*]] = tfl.add(%[[VAL_0]], %[[VAL_3]]) <{fused_activation_function = "NONE"}> : (tensor<1x384x384x3xf32>, tensor<3xf32>) -> tensor<1x384x384x3xf32>
    // CHECK:           return %[[VAL_4]] : tensor<1x384x384x3xf32>
    // CHECK:         }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

          });
          return false;
        }
        return true;
      }
    };
    
    void FusedKernelMatcherPass::runOnOperation() {
      RewritePatternSet patterns(&getContext());
      auto func = getOperation();
      patterns.add<FuseConv2DBiasAdd, FuseMatMulBiasAdd>(&getContext());
    
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    def CreateTensorScatterNdOp : NativeCodeCall<
        "$_builder.create<TF::ScatterNdOp>($0.getLoc(), $0.getType(), $1, $2, $3)">;
    
    //===----------------------------------------------------------------------===//
    // Add op patterns.
    //===----------------------------------------------------------------------===//
    
    // We can lower AddOp to AddV2Op, except for string type. AddOp is defined for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top