Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 633 for composite_ (0.57 sec)

  1. src/cmd/gofmt/testdata/composites.input

    Gustav Westling <******@****.***> 1470406403 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 03:55:43 UTC 2016
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/define_op_template.py

    # See the License for the specific language governing permissions and
    # limitations under the License.
    """A template to define composite ops."""
    
    # pylint: disable=g-direct-tensorflow-import
    
    import os
    import sys
    
    from absl import app
    from tensorflow.compiler.mlir.tfr.python.composite import Composite
    from tensorflow.compiler.mlir.tfr.python.op_reg_gen import gen_register_op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.h

    // tfl.pad .
    ShapedType GetPadOpType(mhlo::CompositeOp op);
    
    // Given a Composite op that wraps a core.aten.avg_pool2d, finds the padding
    // attribute to be passed to the a tfl.average_pool_2d that can fully replace
    // this composite (here, padding is done directly by the tfl.average_pool_2d as
    // opposed to being extracted into a separate tfl.pad).
    StringAttr GetAvgPoolOpPadAttr(Builder& builder, mhlo::CompositeOp op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeCallInterceptionTestInterceptorsDeclaration.java

            self.test(arg0);
        }
    
        @InterceptCalls
        @CallableKind.InstanceMethod
        public static void intercept_testVararg(
            @ParameterKind.Receiver CompositeInterceptorTestReceiver self,
            @ParameterKind.VarargParameter Object[] arg,
            @ParameterKind.CallerClassName String consumer
        ) {
            self.intercepted = "composite.testVararg(Object...)";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py

    import tensorflow as tf
    
    from tensorflow.compiler.mlir.tfr.python import composite
    from tensorflow.compiler.mlir.tfr.python.op_reg_gen import gen_register_op
    from tensorflow.compiler.mlir.tfr.python.tfr_gen import tfr_gen_from_module
    from tensorflow.python.ops import gen_array_ops
    from tensorflow.python.platform import flags
    
    Composite = composite.Composite
    FLAGS = flags.FLAGS
    
    flags.DEFINE_string(
        'output', None,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 01 05:00:29 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/passes.td

    include "mlir/Pass/PassBase.td"
    
    def OutlineCompositesPass: Pass<"outline-composites", "func::FuncOp"> {
      let summary = "Outlines specific patterns into composites.";
      let description = [{
        Outline specific patterns into composites. Specific patterns can be any
        sub-DAG within a single `Block*`. The signature of the new composite
        matches the inupt and output edges from a node in the sub-DAG to a node out
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    // Returns true if the provided padding in the composite op can be satisfied 
    // by SAME or VALID tensorflow padding.
    def HasSameOrValidPadding: Constraint<Neg<HasCustomPadding.predicate>>;
    
    // See the function doc in the header file.
    def GetPadOpAttr: NativeCodeCall<"GetPadOpAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>())">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

    from tensorflow.python.platform import flags
    
    
    Composite = composite.Composite
    FLAGS = flags.FLAGS
    
    flags.DEFINE_string(
        'output', None,
        'Path to write the genereated register op file and MLIR file.')
    
    flags.DEFINE_bool('gen_register_op', True,
                      'Generate register op cc file or tfr mlir file.')
    
    
    @Composite(
        'NewConv2D',
        inputs=['input_: T', 'filter_: T', 'bias: T'],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

            {rewriter.getNamedAttr("approx", rewriter.getBoolAttr(false))});
        auto composite_op = rewriter.create<stablehlo::CompositeOp>(
            output_mul.getLoc(), func.getResultTypes()[0],
            SmallVector<Value>{erf_input->getOperand(0)}, MakeCompositeName(kGelu),
            composite_attrs, func.getSymName());
        rewriter.replaceAllOpUsesWith(output_mul, composite_op);
        // Note these must be erased in reverse topo order to avoid
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

        [(IsNhwcLayoutOp $attrs)]>;
    
    // pattern to lower a stablehlo.composite of `jax` and `pytorch` image resize fuctions
    // in `nearest`mode and with NCHW inputs to a tflite.resize_nearest_neighbor op.
    // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
    // to avoid creating multiple pattern-rewrite rules for the same composite op.
    def LegalizeNchwResizeNearestNeighbor2dComposite: Pat<
        (MHLO_CompositeOp:$old_val
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top