Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 908 for starts_with (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

        for (auto user : result.getUsers()) {
          if (dyn_cast_or_null<TF::DumpTensorOp>(user)) return failure();
        }
    
        const FlatSymbolRefAttr f_attr = GetFuncAttr(op);
        if (!f_attr.getValue().starts_with(kCompositeFuncPrefix)) return failure();
        return success();
      }
    
      void rewrite(LiftedOpT op, PatternRewriter &rewriter) const override {
        // Only support ops with 1 results
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

                                    PatternRewriter& rewriter) const override {
        StringRef function_name =
            mlir::cast<FlatSymbolRefAttr>(call_op.getFAttr()).getValue();
        if (!function_name.starts_with("composite_") ||
            !call_op->hasAttr(kQuantTraitAttrName)) {
          return failure();
        }
    
        absl::Status check_status;
        // TODO(b/270906404): Support weight-only gather for uniform quantized opset
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        mlir::NamedAttrList list;
        for (mlir::NamedAttribute attr : std::get<1>(it).getValue()) {
          // Skip if the attribute has "tfg" prefix.
          if (attr.getName().getValue().starts_with("tfg")) continue;
          list.append(attr);
        }
        output_attrs.push_back(list.getDictionary(context));
      }
      return mlir::success();
    }
    
    static mlir::LogicalResult ReformatOpAttributes(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

        if (!call_op->hasAttr(kQuantTraitAttrName)) {
          return false;
        }
    
        const auto f_attr = call_op.getFAttr().dyn_cast<FlatSymbolRefAttr>();
        if (!f_attr || !f_attr.getValue().starts_with("composite_")) {
          return false;
        }
    
        bool has_quantized_types = false;
        for (Value input : call_op.getArgs()) {
          if (auto type = input.getType().dyn_cast<TensorType>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

    }
    
    }  // namespace
    
    bool mlir::IsStablehloOp(const tflite::OperatorCodeT& op_code) {
      llvm::StringRef op_name(
          tflite::EnumNameBuiltinOperator(tflite::GetBuiltinCode(&op_code)));
      return op_name.starts_with("STABLEHLO_");
    }
    
    std::string mlir::GetMlirOpNameFromOpCode(
        const tflite::OperatorCodeT& op_code) {
      auto builtin_code = tflite::GetBuiltinCode(&op_code);
      if (builtin_code == tflite::BuiltinOperator_IF) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

    };
    
    }  // namespace
    
    // Checks if an op calls a composite function and all the inputs and outputs are
    // quantized.
    bool IsQuantizedCompositeFunction(func::CallOp call_op) {
      if (!call_op.getCallee().starts_with("quantized_")) {
        return false;
      }
    
      bool has_quantized_types = false;
      for (Value operand : call_op.getOperands()) {
        if (const TensorType type = mlir::dyn_cast<TensorType>(operand.getType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // examples quite a bit nicer.
      for (auto func :
           llvm::make_early_inc_range(module->getOps<mlir::func::FuncOp>())) {
        if (func.getName().starts_with("__inference__traced_save_") ||
            func.getName().starts_with("__inference__traced_restore_") ||
            func.getName().starts_with("__inference_signature_wrapper_")) {
          func.erase();
        }
      }
    
      // Diagnose SavedFunction's with multiple input signatures.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertEquals(5, values.length);
            assertEquals("url:test", values[0]);
            assertTrue(values[1].startsWith("time:"));
            assertTrue(values[2].startsWith("done:"));
            assertTrue(values[3].startsWith("aaa:"));
            assertTrue(values[4].startsWith("bbb:"));
    
            localLogMsg.remove();
            crawlerStatsHelper.done(key);
            assertNull(localLogMsg.get());
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

              message.startsWith("System property ") -> Type.Setup
              message.startsWith("Reload ") -> Type.Setup
              message == "No session to resume." -> Type.Handshake
              message.startsWith("Consuming ") -> Type.Handshake
              message.startsWith("Produced ") -> Type.Handshake
              message.startsWith("Negotiated ") -> Type.Handshake
              message.startsWith("Found resumable session") -> Type.Handshake
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/InternalStackTraceClassifier.java

            // JDK calls
            return className.startsWith("java.") ||
                className.startsWith("jdk.") ||
                className.startsWith("sun.") ||
                className.startsWith("com.sun.") ||
                // Groovy calls
                className.startsWith("groovy.lang") ||
                className.startsWith("org.codehaus.groovy.") ||
                isGradleCall(className);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top