Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 235 for legalize (0.34 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.h

                                bool smuggle_disallowed_ops);
    
    // This function is a common entry point for all graph optimizations that are
    // not specific to any hardware. It legalizes SHLO->MHLO, does MHLO->MHLO
    // optimizations by calling `AddMhloOptimizationPasses` internally, and
    // legalizes MHLO->SHLO
    void AddStablehloOptimizationPasses(OpPassManager& pm);
    
    // Adds all the backend-agonstic stableHLO optimization passes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 01:08:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          Value value, const std::string& name, unsigned buffer_idx,
          const std::optional<BufferOffset<tflite::QuantizationParameters>>&
              quant_parameters);
    
      // TODO(b/137395003): Legalize tf.IfOp to TFLite dialect, and change the
      // following method to handle TFL::IfOp.
      BufferOffset<tflite::Operator> BuildIfOperator(
          mlir::TF::IfOp op, const std::vector<int32_t>& operands,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h

    // Create a pass that legalizes MHLO to TF dialect.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHloToTfPass();
    
    // Creates a pass which replaces a splat constant tensor with a BroadcastInDim
    // op.
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfoldSplatConstantPass();
    
    // Create a pass that legalizes MHLO to TFLite dialect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['bar'])
        }
    
        def "can remove all elements"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                clear()
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable([])
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    //
    // For more details on backpropagation for convolution of which `AvgPoolGrad`
    // is a special case see `tensorflow/core/kernels/conv_grad_ops.h`.
    // `tensorflow/compiler/mlir/xla/tests/legalize-tf.mlir` has more
    // examples for different cases.
    template <typename OpTy, int num_dims>
    class ConvertAvgPoolGradOp : public OpRewritePattern<OpTy> {
      using DimVector = SmallVector<int64_t, num_dims>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ListModelProjectionTest.groovy

                remove(1)
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['foo', 'baz'])
        }
    
        def "can add using index"() {
            when:
            mutate {
                add 'foo'
                add(0, 'bar')
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == ['bar', 'foo']
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNamedTest.groovy

            registry.registerWithInitializer("foo", NamedThingInterface, nodeInitializerRegistry)
    
            then:
            registry.realize("foo", NamedThingInterface).name == "foo"
    
            when:
            registry.registerWithInitializer("bar", NamedThingInterface, nodeInitializerRegistry)
    
            then:
            registry.realize("bar", NamedThingInterface).name == "bar"
        }
    
    
        @Managed
        static abstract class NonNamedThing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ModelSetModelProjectionTest.groovy

            then:
            def set = registry.realize(collectionPath, collectionType)
            def e1 = set.find { it.name == '1' }
            def e2 = set.find { it.name == '1' }
            e1.is(e2)
        }
    
        def "can query set size"() {
            when:
            mutate {
                create { name = '1' }
                create { name = '2' }
            }
    
            then:
            !registry.realize(collectionPath, collectionType).isEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/analyze_variables.cc

        if (IsSupportedTFCustomOp(op)) return WalkResult::advance();
    
        // Check for ops that are legalized to TFLite.
        if (op->getDialect()->getNamespace() == "tfl") {
          return WalkResult::advance();
        }
        // Check for ops that are not legalized to TFLite.
        if (IsSupportedTFDataForwardingOp(op)) {
          return WalkResult::advance();
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

            final Calendar local = CalendarConversionUtil.localize(calendar);
            assertEquals(TimeZone.getDefault(), local.getTimeZone());
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.convert.CalendarConversionUtil#localize(Calendar)}
         * .
         */
        @Test
        public void testCreateAndCopySrcNull() {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top