Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MyAddN (0.14 sec)

  1. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx_test.cc

    #include "tsl/platform/statusor.h"
    
    using testing::ElementsAreArray;
    using testing::Test;
    using NodeAndType = std::pair<std::string, tensorflow::DataType>;
    
    namespace tensorflow {
    namespace {
    
    REGISTER_OP("MyAddN")
        .Input("inputs: N * T")
        .Output("sum: T")
        .Attr("N: int >= 1")
        .Attr("T: {numbertype, variant}")
        .SetIsCommutative()
        .SetIsAggregate()
        .SetShapeFn(shape_inference::UnchangedShape);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/resources/composite_ops.cc

    #include "tensorflow/core/framework/node_def_builder.h"
    #include "tensorflow/core/framework/op.h"
    #include "tensorflow/core/framework/shape_inference.h"
    
    namespace tensorflow {
    
    REGISTER_OP("MyAddN")
        .Input("inputs: N * T")
        .Output("sum: T")
        .Attr("N: int >= 1")
        .Attr("T: {numbertype, variant}")
        .SetIsCommutative()
        .SetIsAggregate();
    
    REGISTER_OP("MyBiasedDense")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 21:28:23 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/tests/end2end.mlir

      %0 = "tf.MyAddN"(%arg0) {N=1:i32} : (tensor<2x3xf32>) -> tensor<2x3xf32>
      func.return %0 : tensor<2x3xf32>
    
    // CHECK-NEXT: return %arg0 : tensor<2x3xf32>
    }
    
    // CHECK-LABEL: my_add_n_multiple_inputs
    func.func @my_add_n_multiple_inputs(%arg0: tensor<2x3xf32>, %arg1: tensor<2x3xf32>, %arg2: tensor<2x3xf32>) -> tensor<2x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top