Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for foo_attr (0.25 sec)

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

    LogicalResult PartitionResourceReadsWrites(
        tf_device::ClusterFuncOp cluster_func) {
      bool use_spmd = false;
      if (auto use_spmd_attr = cluster_func->getAttrOfType<BoolAttr>(kUseSpmdAttr))
        use_spmd = use_spmd_attr.getValue();
    
      if (!use_spmd) return success();
    
      auto num_cores_per_replica_attr =
          cluster_func->getAttrOfType<IntegerAttr>(kNumCoresPerReplicaAttr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    // BatchNorm op patterns.
    //===----------------------------------------------------------------------===//
    
    def FalseBoolAttr : AttrConstraint<CPred<"!$_self.cast<BoolAttr>().getValue()">>;
    def TrueBoolAttr : AttrConstraint<CPred<"$_self.cast<BoolAttr>().getValue()">>;
    
    def CastValueToI64: NativeCodeCall<
      "CastValueToI64($0.getLoc(), $1, &$_builder)">;
    
    def CastValueToElementType: NativeCodeCall<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

            mlir::DenseIntElementsAttr::get(static_shape_type, static_shape);
        return rewriter.create<TF::ConstOp>(loc, static_shape_attr).getOutput();
      }
    
      // If the shape is not static, create a new ShapeOp.
      BoolAttr false_attr = rewriter.getBoolAttr(false);
      return rewriter
          .create<TF::ShapeOp>(loc, input,
                               /*use_32bit=*/false_attr)
          .getOutput();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        (TFL_BatchMatMulOp:$bmm_tmp_output
          (TFL_ReshapeOp:$initial_shape_change $input, (Arith_ConstantOp $s0)),
          $rhs, $adj_x, $adj_y, $bool_attr),
        (Arith_ConstantOp $s1)),
      (TFL_BatchMatMulOp $input, $rhs, $adj_x, $adj_y, $bool_attr),
      [(HasRank<2> $rhs),
       (HasRank<2> $initial_shape_change),
       (BroadcastDimsProductEqual<0> $input, $initial_shape_change),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

    using OptionalOpShardingVector =
        llvm::SmallVector<std::optional<OpShardingVariant>, 8>;
    using llvm::StringRef;
    using mlir::Block;
    using mlir::BlockArgument;
    using mlir::BoolAttr;
    using mlir::Builder;
    using mlir::IntegerAttr;
    using mlir::LogicalResult;
    using mlir::ModuleOp;
    using mlir::Operation;
    using mlir::OpOperand;
    using mlir::OpResult;
    using mlir::RankedTensorType;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    	Name    [1024]int8
    	_       [3]byte
    }
    
    type Attrlist struct {
    	Bitmapcount uint16
    	Reserved    uint16
    	Commonattr  uint32
    	Volattr     uint32
    	Dirattr     uint32
    	Fileattr    uint32
    	Forkattr    uint32
    }
    
    const (
    	PathMax = 0x400
    )
    
    type RawSockaddrInet4 struct {
    	Len    uint8
    	Family uint8
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    //===----------------------------------------------------------------------===//
    
    def ReadVariableOfCast : Pat<
      (TF_ReadVariableOp:$src (TF_CastOp:$output $x, BoolAttr:$Truncate)),
      (TF_ReadVariableOp:$dest $x), [(HasOnlyReadVariableOpUsers $output)],
      [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    	Name    [1024]int8
    	_       [3]byte
    }
    
    type Attrlist struct {
    	Bitmapcount uint16
    	Reserved    uint16
    	Commonattr  uint32
    	Volattr     uint32
    	Dirattr     uint32
    	Fileattr    uint32
    	Forkattr    uint32
    }
    
    const (
    	PathMax = 0x400
    )
    
    type RawSockaddrInet4 struct {
    	Len    uint8
    	Family uint8
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        The `tf.IfrtCall` kernel uses the output $array_key.
        Other ops executed by TFRT may make use of $tensor_future.
      }];
    
      let arguments = (ins
        TFTensorType:$variable,
        DefaultValuedAttr<BoolAttr, "false">:$used_by_host
      );
    
      let results = (outs
        TFTensorType:$array_key,
        MlrtFutureType: $tensor_future
      );
    }
    
    def IfrtRestoreVariableOp: TensorflowMlrt_Op<"ifrt_restore_variable", []> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

                              lhs_dot_dimensions_info.FlattenedOutDimensionSize()},
                          llvm::ArrayRef<int64_t>{
                              rhs_dot_dimensions_info.FlattenedOutDimensionSize()});
      BoolAttr false_attr = rewriter.getBoolAttr(false);
      auto matmul = rewriter.create<TFL::BatchMatMulOp>(
          loc, RankedTensorType::get(matmul_shape, result_type.getElementType()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top