Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for _output_shapes (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

          device = "/job:tpu_host_worker/replica:0/task:0/device:CPU:0",
          finalize_func = @finalize,
          init_func = @init,
          next_func = @next,
          operandSegmentSizes = array<i32: 1, 2, 1>,
          output_shapes = [#tf_type.shape<>],
          output_types = [!tf_type.string],
          metadata = ""} : (
                  tensor<4xf32>,
                  tensor<3xf32>,
                  tensor<!tf_type.resource>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

      %2 = "tf.Const"() {__op_key = 2: i32, device = "/device:CPU:0", value = dense<1> : tensor<i64>} : () -> tensor<i64>
      %3 = "tf.RangeDataset"(%0, %1, %2) {__op_key = 3: i32, device = "/device:CPU:0", output_shapes = [#tf_type.shape<>], output_types = [i64], metadata = ""} : (tensor<i64>, tensor<i64>, tensor<i64>) -> tensor<!tf_type.variant>
      // CHECK: tf_mlrt.executeop{{.*}}op: \22FlatMapDataset\22
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

          continue;
        }
        shape.dims = new int64_t[shape.num_dims];
        for (size_t j = 0; j < shape.num_dims; ++j) {
          shape.dims[j] = c.Value(c.Dim(shape_handle, j));
        }
      }
      if (output_shapes != nullptr) *output_shapes = output_shapes_result;
    
      // TODO(bgogul): Set output_resource_shapes_and_types.
    }
    
    void TF_ImportGraphDefOptionsSetValidateColocationConstraints(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_weights.mlir

    "tf.While"(%cst_0, %cst, %cst_0, %arg0, %cst_1) {T = [i32, i32, i32, f32, f32],_lower_using_switch_merge = true, _num_original_outputs = 5 : i64, _read_only_resource_inputs = [], body = @while_body, cond = @while_cond, device = "", is_stateless = true, output_shapes = [#tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<1x1024>, #tf_type.shape<1024x1024>], parallel_iterations = 10 : i64, shape_invariant} : (tensor<i32>, tensor<i32>, tensor<i32>, tensor<1x1024xf32>, tensor<1024x1024xf32>) ->...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 42K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util.cc

        const xla::HloInputOutputAliasConfig& input_output_alias,
        absl::Span<const int> input_mapping,
        const std::map<int, const Tensor*>& resource_vars_snapshots,
        DataType output_dtype, const TensorShape& output_shape,
        Allocator* output_allocator, bool allocate_xla_tensors, se::Stream* stream,
        bool use_multiple_streams, std::shared_ptr<se::Event> definition_event) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

      return ConvertTensor(t, builder);
    }
    
    void ConvertToTensorShapeProto(ArrayRef<int64_t> shape,
                                   TensorShapeProto* output_shape) {
      for (auto d : shape) {
        output_shape->add_dim()->set_size(ShapedType::isDynamic(d) ? kTFDynamicSize
                                                                   : d);
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/quantize.mlir

      %output_shape = arith.constant dense<[2, 3, 2, 2048]> : tensor<4xi32>
      %f16_weights = "tfl.pseudo_const"() {value = dense<1.0> : tensor<4x2x2x2048xf16>} : () -> tensor<4x2x2x2048xf16>
      %dq_weights = "tfl.dequantize"(%f16_weights) : (tensor<4x2x2x2048xf16>) -> tensor<4x2x2x2048xf32>
      %bias = "tfl.no_value"() {value} : () -> none
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

            init_func = @__init_func_530, next_func = @__next_func_680,
            next_func.experimental_ints_on_device = true,
            operandSegmentSizes = array<i32: 2, 2, 1>,
            output_shapes = [#tf_type.shape<?>],
            output_types = [f32],
            metadata = ""
          } :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
Back to top