Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for composite_ (0.13 sec)

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

    using DebuggerType = DebuggerConfig::DebuggerType;
    
    constexpr StringRef kEntryFuncAttrName = "_entry_function";
    constexpr StringRef kOriginalEntryFuncAttrName = "_original_entry_function";
    constexpr StringRef kCompositeFuncPrefix = "composite_";
    constexpr StringRef kEmptyNodeName = "_empty_node";
    
    // Returns a pair: `func_name` and `node_name` for the lifted function. In TF
    // quantizer, both are filled. For StableHLO quantizer, the func_name is only
    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/preprocess_op.cc

        StringRef function_name = f_attr.getValue();
        // TODO(b/228928859): Improve the getter function to match attributes rather
        // than function name.
        if (!function_name.starts_with("composite_")) {
          return failure();
        }
    
        if (function_name.contains("depthwise_conv2d")) {
          // Uniform Quantized op requires weights of tf.DepthwiseConv2dNative to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

        }
    
        // Only the composite functions with f32 inputs are quantizable.
        if (call_op.getResults().size() == 1 &&
            !mlir::cast<ShapedType>(call_op->getResult(0).getType())
                 .getElementType()
                 .isF32()) {
          check_status.Update(absl::InternalError(
              "Composite functions for quantization should be f32 type."));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

        return false;
      }
    
      // Checks if op calls a composite function and all the inputs are quantized.
      bool IsCompositeFunction(TF::PartitionedCallOp call_op) const {
        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;
        }
    
    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. subprojects/core/src/test/groovy/org/gradle/api/internal/CompositeDomainObjectSetTest.groovy

            def component4 = collection("d")
    
            def composite1 = composite(component1, component2)
            def composite2 = composite(component3, component4)
    
            def superComposite = composite(composite1, composite2)
    
            def calledFor = []
    
            expect:
            superComposite.toList() == ["a", "b", "c", "d"]
    
            when:
            superComposite.all { calledFor << it }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 05 20:02:22 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

    // RUN: odml-to-stablehlo-opt -composite-lowering -verify-diagnostics %s | FileCheck %s
    
    func.func @hardswish(%arg0: tensor<2xf32>) -> (tensor<*xf32>) {
      %0 = mhlo.composite "aten.hardswish.default" %arg0 {decomposition = @XlaCallModule_aten.hardswish.default.impl_0} : (tensor<2xf32>) -> tensor<2xf32>
      %1 = "tf.Identity"(%0) {device = ""} : (tensor<2xf32>) -> tensor<*xf32>
      %2 = "tf.Identity"(%1) {device = ""} : (tensor<*xf32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

              composites.add(new Composite<T>(t, 1));
            }
            for (T t : scenario.strictlyOrderedList) {
              composites.add(new Composite<T>(t, 2));
            }
            Ordering<Composite<T>> ordering =
                Ordering.<Composite<T>>natural()
                    .compound(scenario.ordering.onResultOf(Composite.<T>getValueFunction()));
            return new Scenario<Composite<T>>(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/composite_builds.adoc

    // limitations under the License.
    
    [[composite_builds]]
    = Composite Builds
    
    A composite build is a build that includes other builds.
    
    image::structuring-builds-4.png[]
    
    [[composite_build_intro]]
    A composite build is similar to a Gradle multi-project build, except that instead of including `subprojects`, entire `builds` are included.
    
    Composite builds allow you to:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 02:23:19 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

    @composite.Composite('TestIdentityOp')
    def _tfr_tensor_tensor(x):
      return x
    
    
    @composite.Composite('TestIdentityNOp')
    def _tfr_tensor_tensor_list(x):
      return x
    
    
    @composite.Composite('TestInputNOp')
    def _tfr_tensor_tensor_list_get_elt(x):
      return x[1]
    
    
    @composite.Composite('TestOutputNOp')
    def _tfr_tensor_tensor_list_output(x):
      return [x, x]
    
    
    @composite.Composite('TestTwoInputsOp')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

                        }
                    }
                """
            }
            file('composite-lib/settings.gradle') << ""
            file('composite-lib/build.gradle') << """
                plugins { id 'java-library' }
                group = 'composite-lib'
                ${variantDeclaration('compositeLibAttrValue')}
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top