Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 101 for conv2 (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

        const auto module_op = op->getParentOfType<ModuleOp>();
        const SymbolTable symbol_table(module_op);
        func::FuncOp func = symbol_table.lookup<func::FuncOp>(function_name);
    
        if (function_name.contains("conv")) {
          return (*(func.getOps<mlir::stablehlo::ConvolutionOp>().begin()))
              .getDimensionNumbers()
              .getKernelOutputFeatureDimension();
        } else if (function_name.contains("dot_general")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

            ),
        )
        quantization.quantize_saved_model(
            self._input_saved_model_path,
            self._output_saved_model_path,
            config,
        )
    
        expected_outputs = model.conv2d(input_data)
    
        root = load.load(self._output_saved_model_path)
        self.assertCountEqual(root.signatures.keys(), {'serving_default'})
    
        new_outputs = root.signatures['serving_default'](
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

    // NEXT ID: 7
    message UnitWiseQuantizationSpec {
      // Quantization unit granularity.
      // NEXT ID: 4
      message QuantizationUnit {
        // Type of the op, ex: Conv2D, MatMul, Einsum... The node_name field can
        // be omitted if it is intended to match all nodes with this type.
        string op_type = 1;
        // Name of the node. This field accepts re2 regex format. If the node name
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    // or `std::nullopt` if the given op is not per-channel quantizable.
    std::optional<int64_t> GetDotGeneralQuantizationDim(
        ::mlir::stablehlo::DotGeneralOp dot_general_op);
    
    // Checks if a `StringRef` contains 'conv' or 'dot_general'.
    bool ContainsConvOrDot(StringRef str);
    
    }  // namespace mlir::quant
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/order.go

    		ir.ORECOVERFP,
    		ir.OSTR2BYTES,
    		ir.OSTR2BYTESTMP,
    		ir.OSTR2RUNES:
    
    		if isRuneCount(n) {
    			// len([]rune(s)) is rewritten to runtime.countrunes(s) later.
    			conv := n.(*ir.UnaryExpr).X.(*ir.ConvExpr)
    			conv.X = o.expr(conv.X, nil)
    		} else {
    			o.call(n)
    		}
    
    		if lhs == nil || lhs.Op() != ir.ONAME || base.Flag.Cfg.Instrumenting {
    			return o.copyExpr(n)
    		}
    		return n
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationWritingIntegTest.groovy

                        canBeConsumed = false
                    }
                    conf2 {
                        canBeResolved = false
                        assert canBeConsumed
                    }
                }
    
                dependencies {
                    conf1 "org:foo:1.0"
                    conf2 "org:bar:1.0"
                    implementation "org:foo:1.1"
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %con12 = "tf.Const"() { value = dense<[3.0, 4.0]> : tensor<2xf32> } : () -> tensor<2xf32>
      %con21 = "tf.Const"() { value = dense<[0.0, 2.0]> : tensor<2xf32> } : () -> tensor<2xf32>
      %con22 = "tf.Const"() { value = dense<[0.0, 0.0]> : tensor<2xf32> } : () -> tensor<2xf32>
      %con31 = "tf.Const"() { value = dense<[0.0, 0.0]> : tensor<2xf32> } : () -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

        const auto float_graph = model_->subgraphs()->Get(subgraph_idx);
        ASSERT_EQ(quantized_graph->tensors()->size(),
                  float_graph->tensors()->size());
        // Make sure the graph only has one Conv operation.
        ASSERT_EQ(quantized_graph->operators()->size(), 1);
        const auto op = quantized_graph->operators()->Get(0);
        const uint32_t op_code_idx = op->opcode_index();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

        def "reports indirect cycle in extended configurations"() {
            def configuration = conf()
            def conf1 = conf("other")
            def conf2 = conf("other2")
    
            when:
            configuration.extendsFrom(conf1)
            conf1.extendsFrom(conf2)
            conf2.extendsFrom(configuration)
    
            then:
            thrown InvalidUserDataException
        }
    
        def "reports cycle introduced by setExtends"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    			conv.getTypeIDs[n.Go[:len(n.Go)-9]] = true
    		}
    	}
    	for i, n := range names {
    		if types[i] == nil {
    			continue
    		}
    		pos := f.NamePos[n]
    		f, fok := types[i].(*dwarf.FuncType)
    		if n.Kind != "type" && fok {
    			n.Kind = "func"
    			n.FuncType = conv.FuncType(f, pos)
    		} else {
    			n.Type = conv.Type(types[i], pos)
    			switch n.Kind {
    			case "iconst":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top