Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for input_idx (0.14 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      const int input_idx = 0;
      EXPECT_THAT(subgraph->tensors[input_idx]->type, Eq(TensorType_INT8));
      EXPECT_THAT(subgraph->tensors[input_idx]->name, Eq("input"));
      EXPECT_THAT(subgraph->tensors[input_idx]->quantization->scale, SizeIs(1));
      EXPECT_THAT(subgraph->tensors[input_idx]->quantization->zero_point,
                  SizeIs(1));
      EXPECT_THAT(subgraph->tensors[input_idx]->quantization->scale[0],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          indices.getType().getRank() != 1 || port[1] >= indices.getNumElements()) {
        return {};
      }
    
      int64_t input_idx = indices.getValues<IntegerAttr>()[port[1]].getInt();
      if (input_idx >= params_ty.getDimSize(0)) return {};
    
      ValuePort req(params);
      req.port.push_back(input_idx);
      return req;
    }
    
    ValuePort ComputeInputComponentFor(Operation* op, ArrayRef<unsigned int> port) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    *   [0, 255] for unsigned, num_bits = 8.
    
    If range_given == False, the initial input_min, input_max will be determined
    automatically as the minimum and maximum values in the input tensor, otherwise
    the specified values of input_min, input_max are used.
    
    Note: If the input_min, input_max are specified, they do not need to equal the
    actual minimum and maximum values in the tensor. e.g. in some cases it may be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            int64_t size =
                padding_low[i] + shape[i] + (shape[i] - 1) * padding_interm[i];
            padding_high.push_back(input_dim - size);
          } else {
            dims_to_reverse.push_back(i);
            padding_high.push_back(input_dim - begin_indices[i] - 1);
            padding_interm.push_back(-strides[i] - 1);
    
            // Pad the lower dimension up to the expected input shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top