Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 543 for ShapeN (0.24 sec)

  1. tensorflow/compiler/mlir/lite/tests/end2end/graph_with_placeholder_with_default.pbtxt

      }
    }
    node {
      name: "unranked"
      op: "PlaceholderWithDefault"
      input: "tf.Const1"
      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            unknown_rank: true
          }
        }
      }
      attr {
        key: "type"
        value {
          type: DT_INT32
        }
      }
      experimental_debug_info {
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/revived_types/variable.h

          ImmediateExecutionContext* ctx, DataType dtype, TensorShape shape,
          absl::optional<std::string> name, const char* raw_device_name,
          const std::vector<std::string>& component_devices,
          std::unique_ptr<Variable>* output);
    
      // The dtype of the underlying variable.
      DataType dtype();
    
      // The shape of the underlying variable.
      TensorShape shape();
    
      // Updates the variable's contents with `handle`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/test_utils.h

    std::vector<DataType> DataTypeSetToVector(DataTypeSet set);
    
    // Returns a vector of shapes intended to be "interesting" test cases.
    // Currently, this returns scalar, 1D vector, 2D matrix, and a 4D tensor shapes
    std::vector<std::vector<int64_t>> InterestingShapes();
    
    // Returns a TensorHandle of `dtype` and `shape`, filled with `value`.
    // `dtype` must be an integer dtype, float, or double.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/invalid-output-index.pbtxt

    # RUN: not tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_FLOAT -tf-input-shapes='' -tf-output-arrays=input:1 -o - 2>&1 | FileCheck %s
    
    # CHECK: Invalid output index 1 specified for node: input
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 10 23:27:16 UTC 2021
    - 391 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/constant-folding.mlir

      }
    }
    
    // Tests that foldable ops are constant-folded to enable legalization of ops
    // that require compile time constant operand.
    // "tf.Shape" can only be folded away after shape inference. tf.Reshape can only
    // be lowered when tf.Shape is folded into a constant.
    
    // CHECK-LABEL: HloModule main
    // CHECK:       ENTRY %main.{{[0-9]+}} ([[ARG_TUPLE:.*]]: (f32[10,19], f32[19,10])) -> (f32[10,19]) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 25 02:54:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/quant_stats.pbtxt

    # CHECK-NEXT:        shape: [ 4 ],
    # CHECK-NEXT:        type: UINT8,
    # CHECK-NEXT:        buffer: 1,
    # CHECK-NEXT:        name: "input0",
    # CHECK-NEXT:        quantization: {
    # CHECK-NEXT:          scale: [ 0.015686 ],
    # CHECK-NEXT:          zero_point: [ 128 ]
    # CHECK-NEXT:        },
    # CHECK-NEXT:        has_rank: true
    # CHECK-NEXT:      }, {
    # CHECK-NEXT:        shape: [ 4 ],
    # CHECK-NEXT:        type: UINT8,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.h

    //  tpu::FunctionToHloArgs but this is deprecated. arg_shapes - The shapes of
    //  the arguments in module_op. device_type - The device type to compile for.
    //  use_tuple_args - Pack the incoming arg shapes into a single tuple.
    //  custom_legalization_passes - Extra passes to lower from TF -> MHLO.
    //  arg_shapes  - The shapes of the args.
    //  arg_core_mapping - Which args go on which cores.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 07:32:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow_to_stablehlo/README.md

    * `--tags`: Comma-separated list of tags for loading SavedModel. Ignored for
      MLIR input.
    * `--input-arg-shapes`: A string representation of input argument shapes for
      'main' entry-point, separating tensors with ':', dimension with ',', and
      using '?' for unknown sizes. For example, `input-arg-shapes=1,2::1,?`
      expresses argument shapes `[1,2]`, `[]` and `[1,?]`.
    * `--e`: Elide large elements attrs while dumping the output StableHLO.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_cl.cc

                       "the import graph is used if it is skipped."),
        llvm::cl::init(""));
    
    // NOLINTNEXTLINE
    opt<std::string> input_shapes(
        "tf-input-shapes",
        llvm::cl::desc(
            "Input tensor shapes. Shapes for different tensors are separated by "
            "':', and dimension sizes for the same tensor are separated by ','"),
        llvm::cl::init(""));
    
    // NOLINTNEXTLINE
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 10 20:59:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/parse_example_v2.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input0 -tf-input-data-types=DT_STRING -tf-input-shapes=32 -tf-output-arrays=ParseExample/ParseExampleV2:0,ParseExample/ParseExampleV2:7 -o - | FileCheck %s
    
    # CHECK: %[[parse_example:.*]]:8, %[[parse_example_control:.*]] = tf_executor.island wraps "tf.ParseExampleV2"(%arg0,
    # CHECK: resultSegmentSizes = array<i32: 2, 2, 2, 2, 0, 0>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top