Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 106 for Decomposes (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

              concat_dim);
          result = concat_op.getResult();
        }
    
        rewriter.replaceOp(op, result);
        return success();
      }
    };
    
    // Decomposes Softmax and LogSoftmax to primitive TF ops, using the following
    // formulas:
    //
    //     softmax = div(exp(logits), sum(exp(logits)))
    //     log_softmax = sub(logits, log(sum(exp(logits))))
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/tests/decompose.mlir

    // RUN: tfr-opt %s -tfr-decompose -verify-diagnostics | FileCheck %s
    
    // Definitions for ops that are being used in the tests.
    // ex) tf.MyOp refers to tfr.func @tf__my_op
    
    // CHECK-LABEL: @tf__fake_no_op
    tfr.func @tf__fake_no_op(%arg0: !tfr.tensor) -> !tfr.tensor {
      tfr.return %arg0 : !tfr.tensor
    
    // CHECK-NEXT: tfr.return %arg0 : !tfr.tensor
    }
    
    // CHECK-LABEL: @tf__intermediate
    tfr.func @tf__intermediate(%arg0: !tfr.tensor) -> !tfr.tensor {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  3. src/runtime/mgc.go

    // non-generational and non-compacting. Allocation is done using size segregated per P allocation
    // areas to minimize fragmentation while eliminating locks in the common case.
    //
    // The algorithm decomposes into several steps.
    // This is a high level description of the algorithm being used. For an overview of GC a good
    // place to start is Richard Jones' gchandbook.org.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    // RUN: tf-opt %s -tf-device-decompose-resource-ops | FileCheck -check-prefixes=CHECK,ALWAYS-DECOMPOSE %s
    // RUN: tf-opt %s -tf-device-decompose-resource-ops-in-cluster | FileCheck -check-prefixes=CHECK,CLUSTER-ONLY %s
    
    // Tests different behavior of two passes if the op is outside cluster
    // tf-device-decompose-resource-ops would always decompose the resource op.
    // tf-device-decompose-resource-ops-in-cluster would not decompose ops outside
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    ```
    ### `-tf-data-optimization`
    
    _Performs tf.data optimizations_
    
    ### `-tf-decompose-reduce-dataset`
    
    _Decomposes ReduceDataset op into dataset operations._
    
      Decomposes ReduceDataset op into a while loop that iterates the dataset and calls
      into the reduction function.  This decomposition is only done if the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/numerical_utils_test.cc

    TEST(NumericalUtils, QuantizeMultiplier) {
      // Decompose multiplier larger than 1.
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0e6)), 1.0e6);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0e3)), 1.0e3);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(10.)), 10.);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(5.)), 5.);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(2.)), 2.);
    
      // Decompose multiplier between 1.0 and 1e-6.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/decompose-hybrid-quantization.mlir

    // RUN: tf-opt --tfl-decompose-hybrid-quantization --verify-each %s | FileCheck %s
    
    // CHECK-LABEL: @test_conv2d_float
    func.func @test_conv2d_float(%arg0: tensor<1x32x32x8xf32>) -> tensor<1x32x32x16xf32> {
      // CHECK-DAG: %[[VAL0:.+]] = "tfl.pseudo_const"() <{value = dense<42> : tensor<16x1x1x8xi8>}>
      // CHECK-DAG: %[[VAL1:.+]] = "tfl.pseudo_const"() <{value = dense<1> : tensor<16x1x1x8xi8>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

      let constructor = "mlir::odml::CreateComposeUniformQuantizedTypePass()";
      let description = [{
        Identifies uniform quantization patterns and composes them to uniform
        quantized types. This pass targets a specific set of models that are
        quantized from the framework level, which produces "decomposed"
        quantization patterns due to the limitations of the framework.
    
        In the long term it is desired that the framework produces uniform
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

          ),
          (TF_AssignVariableOp $accum_resource, $new_accum, (CreateConstBoolAttrFalse)),
        ]
      >;
    
    // ResourceApplyAdagrad op can be canonicalized to ResourceApplyAdagradV2 with
    // zero epsilon and then decomposed using DecomposeResourceApplyAdagradV2
    // pattern.
    def DecomposeResourceApplyAdagrad :
      Pattern<
        (TF_ResourceApplyAdagradOp $var_resource, $accum_resource, $lr, $grad,
           $use_locking, $update_slots),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx_test.cc

                        .Input(src_list)
                        .Finalize(&test_node);
      EXPECT_TRUE(status.ok());
      auto decomposed = test_ctx_->ExpandNode(test_node, "test");
      EXPECT_TRUE(decomposed.ok());
      std::vector<NodeAndType> expected_results{{"Identity", DT_FLOAT}};
      EXPECT_THAT(NodesSequenceOf(decomposed.value()),
                  ElementsAreArray(expected_results));
    }
    
    TEST_F(TFRDecomposeContextTest, FLOAT_3_ins) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top