Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 201 for typeName (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      return success();
    }
    
    // Returns a vector filtered from range where the unused elements (specified by
    // resource_arg_uses) are removed.
    template <typename T, typename Range>
    llvm::SmallVector<T, 4> FilterRange(
        Range range,
        const llvm::SmallDenseMap<int64_t, ResourceArgUseInfo>& resource_arg_uses) {
      llvm::SmallVector<T, 4> filtered;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

          StringAttr::get(rewriter.getContext(), "NONE");
      rewriter.replaceOpWithNewOp<ConcatenationOp>(
          op, output_type, values, axis_i32, fused_activation_function);
      return success();
    }
    
    template <typename BatchMatMulOpType>
    bool ConvertTFBatchMatMulOp2TFLFullyConnectedOp(Operation* bmm_op,
                                                    PatternRewriter& rewriter) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

                    "Make sure that the task which produces the $inputNameLc is declared as an input",
                ].collect{it.toString() }
                additionalData.asMap == [
                    'typeName' : 'CustomTask',
                    'propertyName' : 'brokenInputFile',
                ]
            }
    
            where:
            inputName   | inputType
            "File"      | InputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/gcimporter_test.go

    	scope := pkg.Scope()
    	for _, name := range scope.Names() {
    		obj := scope.Lookup(name)
    		if obj.Pkg() == nil {
    			t.Errorf("no pkg for %s", obj)
    		}
    		if tname, _ := obj.(*types.TypeName); tname != nil {
    			named := tname.Type().(*types.Named)
    			for i := 0; i < named.NumMethods(); i++ {
    				m := named.Method(i)
    				if m.Pkg() == nil {
    					t.Errorf("no pkg for %s", m)
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

        return absl::c_all_of(per_axis_type.getZeroPoints(),
                              [](int64_t x) { return x == 0; });
      }
      return false;
    }
    
    // Multiplies two 1D arrays with broadcasting support.
    template <typename T>
    SmallVector<T> MultiplyTwoArrays(ArrayRef<T> a, ArrayRef<T> b) {
      auto get_value_at = [](ArrayRef<T> v, size_t i) -> T {
        if (v.size() == 1) return v.front();
        return v[i];
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        return op->emitOpError()
               << "invalid final_op " << final_op << ", want one of [Id, Div]";
      }
      op->replaceAllUsesWith(result);
    
      op->erase();
      return success();
    }
    
    template <typename T>
    class CollectiveRewritePattern : public OpRewritePattern<T> {
     public:
      // Does not take any ownership. Caller must ensure channel_id is valid during
      // life-cylce of this object.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

          offset += index[dim] * stride;
          stride *= shape[dim];
        }
        return offset;
      }
    
      int64_t offset_;
      int64_t stride_;
      int64_t size_;
    };
    
    template <typename T>
    class StridedArrayView;  // Class requires specialization.
    
    // Wraps a DenseIntElementsAttr that holds backing data for a tensor so that
    // int64_t values in a 1-d slice of the tensor can be accessed as if part of an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

          result.can_compress = true;
          result.needs_densify = false;
          result.selected_block_size = selected_block_size;
          break;
        }
      }
    
      return result;
    }
    
    template <typename T>
    std::vector<T> BuildSparsityParameterAttribute(
        const std::vector<int>& block_size, const T* dense_buffer, Operation* inst,
        OpBuilder* builder, SparsityParameterAttr* s_param) {
      ElementsAttr attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_test.go

    		sandbox3Cgroup:                getTestContainerInfo(seedSandbox3, "", "", ""),
    	}
    
    	options := cadvisorapiv2.RequestOptions{
    		IdType:    cadvisorapiv2.TypeName,
    		Count:     2,
    		Recursive: true,
    	}
    
    	mockCadvisor.EXPECT().ContainerInfoV2("/", options).Return(infos, nil)
    	mockCadvisor.EXPECT().RootFsInfo().Return(rootFsInfo, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        return f.isExactlyValue(value);
      });
    }
    
    // Returns true if `value` is compile-time constant and its splat value equals
    // to `raw_value`.
    template <typename T>
    bool IsConstantValueOf(mlir::TypedAttr value, T raw_value) {
      auto element_type = mlir::cast<ShapedType>(value.getType()).getElementType();
    
      if (mlir::isa<FloatType>(element_type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top