Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 120 for _output_shapes (0.4 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-input-func-arg-name-collision.pbtxt

            name: "while_body_6"
          }
        }
      }
      attr {
        key: "cond"
        value {
          func {
            name: "while_cond_5"
          }
        }
      }
      attr {
        key: "output_shapes"
        value {
          list {
            shape {
            }
            shape {
            }
            shape {
            }
          }
        }
      }
      attr {
        key: "parallel_iterations"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/device_index_selector.cc

    //
    // ```mlir
    //  %1 = "tf.DeviceIndex"()
    //          {device = "", device_names = ["CPU", "GPU"]} : () -> tensor<i32>
    //  %4 = "tf.Case"(%1, %arg0, %arg1)
    //          {branches = [@foo, @baz], output_shapes = [#tf_type.shape<>]} :
    //            (tensor<i32>, tensor<f32>, tensor<f32>) -> tensor<f32>
    // ```
    //
    // Shows an example where there are 2 different functions which could be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-defs.pbtxt

              }
            }
            attr {
              key: "how_many"
              value {
                i: 32
              }
            }
          }
        }
      }
      attr {
        key: "output_shapes"
        value {
          list {
            shape {
              unknown_rank: true
            }
            shape {
              unknown_rank: true
            }
          }
        }
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

       def FuseBinaryOpWithTransposeConv#binaryOp : Pat<
        (binaryOp (TFL_TransposeConvOp:$output $output_shape, $weights, $input,
                    (Arith_ConstantOp FloatElementsAttr:$bias), $padding,
                    $stride_h, $stride_w, TFL_AF_None),
                  (Arith_ConstantOp FloatElementsAttr:$value), $act_fn),
        (TFL_TransposeConvOp $output_shape, $weights, $input,
          (binaryOp (Arith_ConstantOp $bias),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        auto new_shape = rewriter.create<TF::ShapeOp>(loc, shape_type, input);
        SmallVector<int64_t, 8> output_shape(/*Size=*/1, op.getNumElements());
        for (const auto &dim : dense_elem_attr.getValues<APInt>())
          output_shape.push_back(dim.getSExtValue());
        RankedTensorType result_type = tensorflow::GetTypeFromTFTensorShape(
            output_shape, getElementTypeOrSelf(input));
        rewriter.replaceOpWithNewOp<TF::ReshapeOp>(op, result_type, input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    //   - The types need not be set in `input_shapes` as it is not used.
    //   - The number of `input_tensors` should be the same as the number of items
    //     in `input_shapes`.
    //
    // The results are returned in `output_shapes` and
    // `output_resource_shapes_and_types`. The caller is responsible for freeing the
    // memory in these buffers by calling `TF_DeleteShapeAndTypeList`.
    TF_CAPI_EXPORT extern void TFE_InferShapes(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/localize_var_handles.mlir

        return %0 : tensor<200x10xf32>
      }
    
      // CHECK-LABEL: @main
      func.func @main()
      attributes {tf_saved_model.exported_names = ["main"]} {
        %0 = "tf.Iterator"() {container = "", output_shapes = [#tf_type.shape<200x10>], output_types = [f32], shared_name = "foo_iterator"} : () -> tensor<!tf_type.resource>
        %1 = func.call @get_next(%0) : (tensor<!tf_type.resource>) -> tensor<200x10xf32>
        return
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 21:12:02 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          auto begin =
              rewriter.create<ConstOp>(op->getLoc(), axis_type, begin_attr);
    
          SmallVector<int64_t, 4> output_shape;
          output_shape.append(input_shape.begin(), input_shape.end());
          output_shape[axis_i] = size_i;
          auto size_attr = DenseIntElementsAttr::get(axis_type, output_shape);
          auto size = rewriter.create<ConstOp>(op->getLoc(), axis_type, size_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      int64_t out_row_dim = output_shape[output_shape.size() - 2];
      int64_t out_col_dim = output_shape[output_shape.size() - 1];
    
      int64_t expected_out_row_dim = op.getAdjX() ? x_col_dim : x_row_dim;
      int64_t expected_out_col_dim = op.getAdjY() ? y_row_dim : y_col_dim;
    
      if (expected_out_row_dim != ShapedType::kDynamic &&
          out_row_dim != ShapedType::kDynamic &&
          out_row_dim != expected_out_row_dim)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

        Variadic<TF_Tensor>:$output
      );
    
      TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<1>;
      TF_DerivedResultTypeListAttr Tout = TF_DerivedResultTypeListAttr<0>;
      TF_DerivedResultShapeListAttr output_shapes = TF_DerivedResultShapeListAttr<0>;
    
      let hasCanonicalizer = 1;
    
      let hasVerifier = 1;
    
    
     let extraClassDeclaration = [{
        int num_branches() { return getBranches().size(); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
Back to top