Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for _output_shapes (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

      bool restrict_functionalization_to_compiled_nodes = false;
      // If true, enables shape inference on input.
      // TODO(jpienaar): This will be removed shortly.
      bool enable_shape_inference = true;
      // _output_shapes is an unregistered attribute which is used during
      // GraphConstructor::ConvertGraph to override shapes. It is unfortunately
      // not always set correctly (which is undesirable and should be addressed)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc

      // Create a bad output shape attr.
      AttrValue shape_attr;
      TensorShapeProto* shape_proto = shape_attr.mutable_list()->add_shape();
      shape_proto->add_dim()->set_size(1);
      builder.Attr("_output_shapes", shape_attr);
    
      TF_RETURN_IF_ERROR(builder.Finalize(&node));
    
      return CreateSingleOpGraph(node, {}, {DataType::DT_INT32});
    }
    
    absl::Status BuildHloFromGraph(Graph& graph, bool use_output_shapes) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 19:54:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/name_anonymous_iterators.mlir

    func.func private @gives_a_name_to_anonymous_iterators() {
      // CHECK: "tf.Iterator"
      // CHECK-SAME: output_shapes{{.*}}200x28x28x1{{.*}}200x10
      // CHECK-SAME: output_types = [f32, f32]
      // CHECK-SAME: shared_name = "_iterator1"
      %0 = "tf.AnonymousIteratorV3"() {output_shapes = [
        #tf_type.shape<200x28x28x1>,
        #tf_type.shape<200x10>], output_types = [f32, f32]} : () -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 14 09:25:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/func_attributes_multiple_callers.mlir

        %3 = "tf.RangeDataset"(%0, %1, %2) {device = "/device:CPU:0", output_shapes = [#tf_type.shape<>], output_types = [i64], metadata = ""} : (tensor<i64>, tensor<i64>, tensor<i64>) -> tensor<!tf_type.variant>
        // CHECK: tfrt_fallback_async.executeop key({{[0-9]+}}) cost({{.*}}) device("/device:CPU:0") "tf.FlatMapDataset"({{.*}}) {Targuments = [], metadata = "", output_shapes = [#corert.shape<>], output_types = [i64]} {f = "funcB"} : 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 20:57:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/func_attributes.mlir

        %3 = "tf.RangeDataset"(%0, %1, %2) {device = "/device:CPU:0", output_shapes = [#tf_type.shape<>], output_types = [i64], metadata = ""} : (tensor<i64>, tensor<i64>, tensor<i64>) -> tensor<!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 16 18:13:18 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_map_and_batch.mlir

      %3 = "tf.TensorSliceDataset"(%2) {device = "", output_shapes = [#tf_type.shape<>], metadata = ""} : (tensor<3xi32>) -> tensor<*x!tf_type.variant>
      // CHECK: "tf.MapAndBatchDataset"(%[[TSLICE]], %[[BSIZE:.*]], %[[NPC]]
      // CHECK-SAME: f = @"__inference_Dataset_map_<lambda>_80",
      %4 = "tf.MapDataset"(%3) {device = "",
               f = @"__inference_Dataset_map_<lambda>_80",
               output_shapes = [#tf_type.shape<>], output_types = [i32],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/decompose_reduce_dataset.mlir

        ) {
        // CHECK: tf.ReduceDataset
        %1 = "tf.ReduceDataset"(%arg0, %arg1) {
          Targuments = [],
          Tstate = [i64], device = "",
          f = @__reduce_func_0, f._tf_data_function = true,
          output_shapes = [#tf_type.shape<>],
          output_types = [i64], use_inter_op_parallelism = true } : (tensor<!tf_type.variant>, tensor<i64>) -> (tensor<i64>)
        func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 18 17:16:34 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc

      std::array<int64_t, 4> output_shape;
      // NHWC <- NCHW
      output_shape[0] = composite_result_shape[0];
      output_shape[1] = composite_result_shape[2];
      output_shape[2] = composite_result_shape[3];
      output_shape[3] = composite_result_shape[1];
    
      auto input_type = mlir::cast<ShapedType>(old_op->getOperand(0).getType());
    
      return RankedTensorType::get(output_shape, input_type.getElementType());
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td

    // Transpose conv supports hybrid computation with quantized weights.
    def FoldQuantWeightsIntoTposeConv : Pat<
      (TFL_TransposeConvOp
        $output_shape,
        (TFL_DequantizeOp $quant_weights),
        $quant_input,
        $bias, $padding, $stride_h, $stride_w, $faf),
      (TFL_TransposeConvOp $output_shape, $quant_weights,
        $quant_input, $bias, $padding, $stride_h, $stride_w, $faf), 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/lift_tflite_flex_ops.mlir

      } : (tensor<!tf_type.variant>) -> tensor<!tf_type.variant>
    
      func.return %0 : tensor<!tf_type.variant>
    // CHECK: "tf.MapDataset"(
    // CHECK-SAME: <{f = @{{.*}}, metadata = "", output_shapes = [#tf_type.shape<>], output_types = [!tf_type.string], preserve_cardinality = true, use_inter_op_parallelism = true}> {Targuments = []}
    }
    
    // CHECK-LABEL: TfTakeWhileDataset
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top