Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 123 for input_dtype (0.55 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                    shape=input_shape, dtype=dtypes.float32, name='input_tensor'
                )
            ),
            options=save_options,
        )
        return model
    
      def _create_gather_model(self, input_type, use_variable) -> module.Module:
        class GatherModel(module.Module):
          """A simple model with a single gather."""
    
          def __init__(self, use_variable):
            """Initializes a GatherModel.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataProcessor.java

            final List<Object> inputs = new ArrayList<>();
            for (Class<?> inputType : action.getInputTypes()) {
                MetadataDescriptorFactory descriptorFactory = new MetadataDescriptorFactory(metadata);
                Object descriptor = descriptorFactory.createDescriptor(inputType);
                if (descriptor != null) {
                    inputs.add(descriptor);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  3. pkg/test/config/mock_config.pb.go

    }
    var file_pkg_test_config_mock_config_proto_depIdxs = []int32{
    	1, // 0: config.MockConfig.pairs:type_name -> config.ConfigPair
    	1, // [1:1] is the sub-list for method output_type
    	1, // [1:1] is the sub-list for method input_type
    	1, // [1:1] is the sub-list for extension type_name
    	1, // [1:1] is the sub-list for extension extendee
    	0, // [0:1] is the sub-list for field type_name
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

    // of `input_type`, if the `quant_dim` is valid. On the other hand, the
    // symmetry of min and max is not adjusted by this method. The QAT workflow
    // should set min/max correctly (and use `narrow_range`=true, `is_signed`=true)
    // if symmetric quantization is required.
    TypeAttr GetQuantizedTypeAttr(Builder builder, Type input_type, Attribute min,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java

                .build();
        }
    
        public static <C, I> ModelRegistration unmanaged(ModelRegistrations.Builder builder, Class<C> type, Class<I> inputType, Transformer<? extends C, ? super I> action) {
            return unmanaged(builder, ModelType.of(type), ModelType.of(inputType), action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

      // Build the function type. Region arguments and extern values together
      // become the function arguments, with region arguments going first.
      auto input_types = llvm::to_vector<4>(entry.getArgumentTypes());
      for (auto input : extern_values) input_types.push_back(input.getType());
    
      // Terminator operands and pass through extern values (if enabled) together
      // become the function return values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/passes.h

    std::unique_ptr<OperationPass<ModuleOp>> CreateOptimizeFunctionalOpsPass();
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateModifyIONodesPass(
        mlir::Type input_type, mlir::Type output_type);
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateModifyIONodesPass();
    
    // Creates an instance of the TensorFlow Lite dialect PostQuantizeRemoveQDQ
    // pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

          ('use_constant_with_int64_input', np.int64, False),
          ('use_variable_with_int64_input', np.int64, True),
      )
      @test_util.run_v2_only
      def test_gather_model(self, input_type, use_variable):
        model = self._create_gather_model(input_type, use_variable)
    
        save.save(model, self._input_saved_model_path)
    
        rng = np.random.default_rng(seed=42)
        static_input_shape = [6]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

        }
    
        static String convertingValueSourceImpl(String valueSourceClassName, String inputType, String returnType, String conversion) {
            """
            abstract class $valueSourceClassName implements ${ValueSource.name}<$returnType, Params> {
                interface Params extends ${ValueSourceParameters.name} {
                    Property<$inputType> getInput()
                }
    
                @Override $returnType obtain() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            given:
            buildFile << """
                abstract class TaskWithResultInput extends DefaultTask {
    
                    @Input
                    abstract ListProperty<${inputType}> getInput()
    
                    @OutputFile
                    abstract RegularFileProperty getOutputFile()
    
                    @TaskAction void action() {
                        println(input.get())
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top