Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for tfshape$ (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc

    namespace mangling_util {
    namespace {
    
    using ::mlir::tfg::mangling_util::PrintShortTextProto;
    
    const char kAttributePrefix[] = "tf.";
    const char kDataTypePrefix[] = "tfdtype$";
    const char kTensorShapePrefix[] = "tfshape$";
    const char kTensorPrefix[] = "tftensor$";
    
    }  // namespace
    
    string MangleAttributeName(absl::string_view str) {
      return absl::StrCat(kAttributePrefix, str);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/canonicalize_compile_and_replicate_attributes.mlir

        %outputs_0, %control_0 = tf_executor.island wraps "tf.Placeholder"() {device = "", dtype = "tfdtype$DT_FLOAT", name = "y", shape = "tfshape$dim { }"} : () -> tensor<0xf32>
        %outputs_1, %control_1 = tf_executor.island wraps "tf.TPUReplicatedInput"(%outputs_0) {N = 1 : i64, T = "tfdtype$DT_FLOAT", device = "", name = "input1"} : (tensor<0xf32>) -> tensor<0xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.td

               the TF attribute, and the other for the type and value of the
               attribute value. Attribute value is a string with the format of
               "type$val", where type can be "bool", "string", "tfdtype", "tfshape",
               "tftensor".
               The value serialization format can be found in attr_util.h.
    
          %out_c, %out_tensor = "tfd.delegate_kernel"(
            %in_c, %in1_tensor, %in2_tensor) {
            _name = "MatMul",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

      %cst_0 = arith.constant dense<1> : tensor<3xi32>
      %0 = "tf.Squeeze"(%arg0) {T = f32, _output_shapes = ["tfshape$dim { size: 4 } dim { size: 64 } dim { size: 64 }"], device = "", squeeze_dims = []} : (tensor<4x64x64x1xf32>) -> tensor<4x64x64xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK-DAG: [[LINSPACE:%.*]] = chlo.broadcast_add [[MUL]], [[START]] {broadcast_dimensions = array<i64>}
      // CHECK: return [[LINSPACE]]
      %0 = "tf.Const"() {_output_shapes = ["tfshape$"], device = "", dtype = i32, value = dense<4> : tensor<i32>} : () -> tensor<i32>
      %1 = "tf.LinSpace"(%arg0, %arg1, %0) : (tensor<f32>, tensor<f32>, tensor<i32>) -> tensor<4xf32>
      func.return %1 : tensor<4xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

    func.func @testUnimplementedOp() -> (tensor<i32>, tensor<i32>) {
      %0 = arith.constant dense<1> : tensor<i32>
      %1 = arith.constant dense<2> : tensor<i32>
      %2 = "tf.Maximum"(%0, %1) {_output_shapes = ["tfshape$"]} : (tensor<i32>, tensor<i32>) -> tensor<i32>
      %3 = "tf.Minimum"(%0, %1) {random_attr = "hello"} : (tensor<i32>, tensor<i32>) -> tensor<i32>
      func.return %2, %3: tensor<i32>, tensor<i32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  7. tensorflow/c/tf_shape.h

    #endif
    
    // An opaque type corresponding to a shape in tensorflow. In the future,
    // we may expose the ABI of TF_Shape for performance reasons.
    typedef struct TF_Shape TF_Shape;
    
    // Return a new, unknown rank shape object. The caller is responsible for
    // calling TF_DeleteShape to deallocate and destroy the returned shape.
    TF_CAPI_EXPORT extern TF_Shape* TF_NewShape();
    
    // Returns the rank of `shape`. If `shape` has unknown rank, returns -1.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 30 00:25:41 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/c/tf_shape.cc

    #include "tensorflow/c/tf_shape.h"
    
    #include <stdint.h>
    
    #include "tensorflow/c/tf_shape_internal.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    
    extern "C" {
    
    TF_Shape* TF_NewShape() {
      return tensorflow::wrap(new tensorflow::PartialTensorShape());
    }
    
    int TF_ShapeDims(const TF_Shape* shape) {
      return tensorflow::unwrap(shape)->dims();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 30 00:25:41 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    }
    
    // CHECK-LABEL: @erase_tf_var_is_initialized
    func.func @erase_tf_var_is_initialized(%arg0 : tensor<!tf_type.resource<tensor<f32>>>) -> tensor<i1> {
      %vh = "tf.VarHandleOp"() {container = "", shape = "tfshape$", shared_name = "x"} : () -> tensor<!tf_type.resource<tensor<f32>>>
      %is = "tf.VarIsInitializedOp"(%vh) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  10. tensorflow/c/tf_shape_internal.h

    #define TENSORFLOW_C_TF_SHAPE_INTERNAL_H_
    
    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    
    typedef struct TF_Shape TF_Shape;
    
    namespace tensorflow {
    
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::PartialTensorShape, TF_Shape);
    
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 30 00:25:41 UTC 2020
    - 1K bytes
    - Viewed (0)
Back to top