Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 639 for ShapeN (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/shape_inference_with_shape_specialization.mlir

    // RUN: tf-opt %s -tf-shape-inference=input-arg-shapes=1 -verify-diagnostics -split-input-file | FileCheck %s
    // RUN: not tf-opt %s -tf-shape-inference=input-arg-shapes=* 2>&1 | FileCheck --check-prefix=INPUT_ARG_SHAPES_ERROR %s
    // INPUT_ARG_SHAPES_ERROR: Missing input argument shapes
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
        // CHECK-LABEL: func.func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-multi-data-type-with-subtype.pbtxt

        value {
          type: DT_INT32
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            unknown_rank: true
          }
        }
      }
    }
    node {
      name: "x"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_VARIANT
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            unknown_rank: true
          }
        }
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:11:42 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass.h

    // 7. Add necessary attributes to `node_def`, so we can replace it with a
    //    XlaHostCompute node later. If all input shapes for XlaSendFromHost are
    //    known, "shapes" attr will be set to the list of input shapes; otherwise
    //    "shape_inference_graph" attr will be set to shape inference function name.
    class RewriteOutsideCompilationSubgraphFn {
     public:
      RewriteOutsideCompilationSubgraphFn(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-scalar-input.pbtxt

    # RUN: 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=out:1,out -o - | FileCheck %s
    
    # Verify that we match correctly the input / output when they are scalar.
    
    # CHECK-LABEL: func @main
    # CHECK-SAME:  (%{{[a-z0-9]+}}: tensor<f32> {tf.device = "/device:CPU:0"})
    # CHECK-SAME:  control_outputs = ""
    # CHECK-SAME:  inputs = "input"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/legacy-fed-input-without-inputs.pbtxt

    # RUN: 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 -tf-convert-legacy-fed-inputs -o - | FileCheck %s
    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-shapes='' -tf-output-arrays=input -tf-convert-legacy-fed-inputs -o - | FileCheck --check-prefix=NODATATYPE %s
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/unroll_batch_matmul_disabled.pbtxt

    node {
      name: "Placeholder"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            dim {
              size: 2
            }
            dim {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/tests/test_error_message.lit.pbtxt

    # CHECK: build_graph(out_dir)
    
    # Checks the error message produced by tfcompile without mlir_component
    # OLD: INVALID ARGUMENTS: Incompatible shapes: [2] vs. [3]
    # OLD: x_y_sum
    
    node: {
      name: "x"
      op: "Placeholder"
      attr: {
        key: "shape"
        value: {
          shape: {
            dim: {
              size: -1
            }
          }
        }
      }
      attr: {
        key: "dtype"
        value: {
          type: DT_INT32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:32:15 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/revived_types/variable.cc

    Variable::Variable(ImmediateExecutionContext* ctx, DataType dtype,
                       TensorShape shape, absl::optional<std::string> name,
                       ImmediateTensorHandlePtr handle)
        : TensorHandleConvertible(std::move(handle)),
          name_(name.has_value() ? *name : "Variable"),
          dtype_(dtype),
          shape_(shape),
          ctx_(ctx) {}
    
    Variable::~Variable() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 08 20:55:40 UTC 2020
    - 4.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-undefined-output.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=NotANodeInTheGraph -o - 2>&1 | FileCheck %s
    
    # CHECK: Output NotANodeInTheGraph was not found in graph
    
    node {
      name: "input"
      op: "Placeholder"
      device: "/device:CPU:0"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 10 23:27:16 UTC 2021
    - 713 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_shape_attr.mlir

    // Check that attributes that define derived shapes are exported.
    
    // CHECK: op: "PlaceholderWithDefault"
    // CHECK: shape
    // CHECK: unknown_rank: true
    // CHECK: name: "static"
    // CHECK: op: "PlaceholderWithDefault"
    // CHECK: shape {
    // CHECK-NEXT: }
    // CHECK: name: "static_10"
    // CHECK: op: "PlaceholderWithDefault"
    // CHECK: shape
    // CHECK: dim
    // CHECK: size: 10
    
    func.func @main() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top