Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 247 for legalize (0.14 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/custom_call.h

          ConversionPatternRewriter& rewriter) const final;
    };
    
    // Ops that have a call_target_name starting with the prefix "custom_call." and
    // backend_config of type StringAttr (if specified) should be legalized (i.e.
    // considered to be illegal if still present after this pass is complete).
    std::optional<bool> IsCustomCallLegal(mhlo::CustomCallOp op);
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 02:41:24 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSource.java

                    modCount++;
                    element.realize();
                }
            }
        }
    
        @Override
        public void realizePending(Class<?> type) {
            for (Element<T> element : inserted) {
                if (!element.isRealized() && (element.getType() == null || type.isAssignableFrom(element.getType()))) {
                    modCount++;
                    element.realize();
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 20:04:06 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy

            project.apply plugin: 'custom-rule-source'
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
        def "can apply a rule source by type"() {
            when:
            def project = buildProject()
            project.apply type: CustomRuleSource
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/path/filepath/57151.md

    The new [Localize] function safely converts a slash-separated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 98 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ProviderApiDependenciesIntegrationTest.groovy

        id 'java'
    }
    
    def version = objects.property(String)
    
    configurations.testImplementation.dependencies.addLater(version.map { project.dependencies.create("com.example:artifact:\${it}") })
    
    tasks.all {} // force realize all tasks
    
    version.set('5.6')
    
    assert configurations.testRuntimeClasspath.allDependencies.size() == 1 
            """
            expect:
            succeeds("help")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/internal/filepathlite/path_unix.go

    	ListSeparator = ':' // OS-specific path list separator
    )
    
    func IsPathSeparator(c uint8) bool {
    	return Separator == c
    }
    
    func isLocal(path string) bool {
    	return unixIsLocal(path)
    }
    
    func localize(path string) (string, error) {
    	if bytealg.IndexByteString(path, 0) >= 0 {
    		return "", errInvalidPath
    	}
    	return path, nil
    }
    
    // IsAbs reports whether the path is absolute.
    func IsAbs(path string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 935 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.h

    #include "tensorflow/core/tpu/kernels/tpu_compile.pb.h"
    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace v2 {
    
    // Legalizes the given mlir::Module into XLA HLO. If successful, returns the
    // compiled XLA HLO. V1 of the tf2xla uses MLIR whereas V0 does not use MLIR.
    //
    // Inputs:
    //  computation - The MLIR module op. It currently takes in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 07:32:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.cc

      target.addLegalDialect<func::FuncDialect>();
      target.addLegalDialect<tensor::TensorDialect>();
      target.addLegalDialect<shape::ShapeDialect>();
      target.addLegalOp<func::CallOp>();
    
      // These ops are legalized in LegalizeTFCommunication after this and that pass
      // only operates on MHLO control flow ops.
      target.addLegalOp<TF::_XlaHostComputeMlirOp, TF::XlaSendToHostOp,
                        TF::XlaRecvFromHostOp>();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

          index_lt.getLhs() != body.getArgument(1) ||
          index_lt.getRhs() != body.getArgument(3))
        return failure();
    
      return success();
    }
    
    // Returns true if the given reduce op can be legalized to ArgMax/ArgMin ops.
    std::optional<bool> IsReduceOpLegal(mhlo::ReduceOp reduce_op) {
      if (succeeded(MatchReduceToArgMinMaxType1(reduce_op, true, true)) ||
          succeeded(MatchReduceToArgMinMaxType1(reduce_op, false, true)) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/verify_quant_legalization.cc

    ==============================================================================*/
    
    // The TF dialect uses some TF types that are illegal in the MHLO dialect and
    // some generic types that are legal in MHLO. This pass legalizes TF types into
    // types that are legal in MHLO. For example, TF::Qint8Type is converted to i8.
    // Rewrites here should run before TF to MHLO op legalizations are run.
    
    #include <memory>
    
    #include "absl/log/log.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top