Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for split_dim (0.09 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

    # tensorflow/core/api_def/base_api/*
    # {op_name: {API's attribute name: OpDef's attribute name}}
    _ATTRIBUTE_RENAMES = {
        'Mean': {'axis': 'reduction_indices'},
        'Split': {'axis': 'split_dim'},
        'SplitV': {'axis': 'split_dim'},
    }
    
    
    def _get_type_from_proto(arg_def=None, attr_def=None):
      if not arg_def:
        if attr_def.type == 'bool':
          return TFRTypes.I1
        elif attr_def.type == 'int32':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

                  Eq(BuiltinOperator_SPLIT));
      EXPECT_THAT(GetBuiltinCode(model_.operator_codes[add->opcode_index].get()),
                  Eq(BuiltinOperator_ADD));
    
      // There should be 5 tensors: input, output, split, split/split_dim, split:1.
      // Tensor indices could be different between original and quantized.
      EXPECT_THAT(subgraph->tensors, SizeIs(5));
      const int input_idx = 0;
      EXPECT_THAT(subgraph->tensors[input_idx]->type, Eq(TensorType_INT8));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top