Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 177 for getAbs (1.82 sec)

  1. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeWhilePass)
      void RunOnFunction(func::FuncOp func);
    
      void runOnOperation() override {
        for (auto op : getOperation().getOps<func::FuncOp>()) RunOnFunction(op);
      }
    };
    
    }  // namespace
    
    // Inserts call to the given function into the 'region'.
    void CreateRegionWithCall(func::FuncOp func, Region& region, Location loc) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/CompileTaskConfig.java

            task.includes(new Callable<List<FileCollection>>() {
                @Override
                public List<FileCollection> call() {
                    Collection<NativeDependencySet> libs = binary.getLibs((DependentSourceSet) sourceSet);
                    return CollectionUtils.collect(libs, NativeDependencySet::getIncludeRoots);
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

                .append("duplicate exported name '", exported_name, "'")
                .attachNote(p.first->getSecond()->getLoc())
                .append("previously seen here");
          }
        }
      }
      for (auto func : module.getOps<func::FuncOp>()) {
        const bool is_exported = IsExported(func);
    
        if (is_exported && !func.isPublic()) {
          return func.emitError()
                 << "exported function @" << func.getName() << " should be public";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_reorder_replicate_and_partitioned_inputs.cc

          }))
        return replicated_input.emitOpError()
               << "expects all inputs from 'tf.TPUPartitionedInputV2' ops";
    
      const auto metadata_iter =
          replicated_input->getBlock()->getOps<TF::TPUReplicateMetadataOp>();
      TF::TPUReplicateMetadataOp metadata;
      if (!metadata_iter.empty()) metadata = *(metadata_iter.begin());
    
      auto first_partitioned_input = llvm::cast<TF::TPUPartitionedInputV2Op>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 24 23:08:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

        EXPECT_TRUE(module_op_ref);
        return module_op_ref;
      }
    
      mlir::MLIRContext ctx_{};
    };
    
    func::FuncOp GetMainFuncOp(ModuleOp module_op) {
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        if (func_op.getSymName() == "main") {
          return func_op;
        }
      }
      return {};
    }
    
    TEST_F(ConvertAssetArgsTest, ConvertsSingleAssetArg) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    // assigns it to `result`, if present. If there are multiple such ops, returns
    // failure.
    template <typename OpT>
    LogicalResult GetOp(Region* region, OpT* result) {
      *result = {};
      for (auto op : region->getOps<OpT>()) {
        if (*result) return op.emitError("should be unique within a function");
        *result = op;
      }
      return success();
    }
    
    LogicalResult RunOnRegion(Region* region) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

            op.getLoc(), /*resultType0=*/
            mlir::cast<TensorType>(op.getResult().getType())
                .clone(output_uniform_quantized_type),
            /*lhs=*/op.getLhs(), /*rhs=*/op.getRhs(),
            /*dot_dimension_numbers=*/op.getDotDimensionNumbers(),
            /*precision_config=*/op.getPrecisionConfigAttr());
    
        rewriter.replaceAllUsesWith(op.getResult(), new_dot_general_op.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            dest.setAaa("aaa");
            dest.setBbb("bbb");
            dest.setDdd("ddd");
    
            BeanUtil.copyBeanToBean(src, dest);
            assertThat(dest.getAaa(), is("111"));
            assertThat(dest.getBbb(), is(nullValue()));
            assertThat(dest.getDdd(), is("ddd"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_BeanToBean_ExcludeNull() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

      llvm::DenseMap<func::FuncOp, llvm::DenseSet<func::FuncOp>> caller_callee_map;
      // Creates work queue for determining reachability below.
      std::queue<func::FuncOp> function_worklist;
    
      for (auto func : module.getOps<func::FuncOp>()) {
        for (auto user : symbol_map.getUsers(func)) {
          // Populates work queue with func ops called from TPUPartionedCall.
          if (llvm::isa<TF::TPUPartitionedCallOp>(user)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/content/content.go

    		cmdStr += " -o yaml"
    	}
    	out, err := p.Runner.RunCmd(cmdStr, "", p.KubeConfig, p.KubeContext, p.DryRun)
    	return map[string]string{
    		"secrets": out,
    	}, err
    }
    
    // GetCRs returns CR contents for all CRDs in the cluster.
    func GetCRs(p *Params) (map[string]string, error) {
    	crds, err := getCRDList(p)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top