Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for value_str (0.18 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      auto operands = adaptor.getOperands();
      auto lookup_attr = operands[0].dyn_cast_or_null<DenseIntElementsAttr>();
      auto value_attr = operands[1].dyn_cast_or_null<DenseElementsAttr>();
      if (!lookup_attr || !value_attr) {
        return {};
      }
    
      // Hybrid lookup is not supported.
      if (value_attr.getType().getElementType() != getType().getElementType()) {
        return {};
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          params.push_back(idx);
          continue;
        }
    
        TF_ASSIGN_OR_RETURN(auto value_attr,
                            ConvertTensor(xla_arg.constant_value, &builder));
        // TODO(hinsu): Use the actual location of the constant.
        auto constant = builder.create<mlir::TF::ConstOp>(
            mlir::UnknownLoc::get(module_op.getContext()), value_attr);
        mlir_arg.replaceAllUsesWith(constant);
        args_to_erase.push_back(idx);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_tpu_device.cc

                                 : nullptr;
        se::Stream* const dst_device_to_device_stream =
            should_use_substream
                ? device_to_device_master_stream->GetOrCreateSubStream().value_or(
                      nullptr)
                : dst_xla_context->GetDeviceToDeviceStream();
        TF_RET_CHECK(dst_device_to_device_stream != nullptr);
        auto return_substream = gtl::MakeCleanup(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/linalg_grad.cc

                     Const(scope, *end - start, TensorShape({1})));
      } else {
        return Slice(scope, tensor, Const(scope, start, TensorShape({1})),
                     Add(scope, Shape(scope, tensor), end.value_or(0) - start));
      }
    }
    
    // Returns reduced subscripts and their corresponding dimensions and axes.
    //
    // Given a set of axis labels, returns their concatenated subscript, their
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize.cc

            op.getLoc(), DenseElementsAttr::get(k_ty, k));
        // Compute new result types.
        auto values_ty = mlir::dyn_cast<ShapedType>(values.getType());
        auto indices_ty = mlir::dyn_cast<ShapedType>(indices.getType());
        auto shape = std::vector<int64_t>();
        for (auto d : values_ty.getShape().drop_back()) {
          shape.push_back(d);
        }
        shape.push_back(static_cast<int64_t>(k));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      RankedTensorType value_ty =
          mlir::dyn_cast<RankedTensorType>(op.getValue().getType());
      RankedTensorType bias_ty =
          mlir::dyn_cast<RankedTensorType>(op.getBias().getType());
      if (!bias_ty || !value_ty) return success();
    
      int64_t feature_dim_idx =
          tensorflow::GetTensorFeatureDimIndex(value_ty.getRank(), format);
      int64_t feature_dim = value_ty.getDimSize(feature_dim_idx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util.cc

                std::make_unique<xla::PjRtStreamExecutorBuffer>(
                    device_shape, std::move(device_buffer), pjrt_client,
                    pjrt_device,
                    pjrt_device->default_memory_space().value_or(nullptr));
            owned_args->push_back(std::move(pjrt_buffer));
            args->push_back(owned_args->back().get());
          }
        } else {
          if (av_tensor->GetBuffer() == nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/trace_viewer_full.html

    if(event.name){rows.push({name:'Name',value:event.name});}
    rows.push({name:'Start',value:tr.v.ui.createScalarSpan(event.start,{unit:tr.b.Unit.byName.timeStampInMs})});if(event.duration){rows.push({name:'Wall Duration',value:tr.v.ui.createScalarSpan(event.duration,{unit:tr.b.Unit.byName.timeDurationInMs})});}
    if(event.cpuDuration){rows.push({name:'CPU Duration',value:tr.v.ui.createScalarSpan(event.cpuDuration,{unit:tr.b.Unit.byName.timeDurationInMs})});}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
  9. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":["var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow, 0 0 #0000)"].join(", ")})},{values:r("ringWidth"),type:"length"}),t({".ring-inset":{"@defaults ring-width":{},"--tw-ring-inset":"inset"}})},ringColor:({matchUtilities:i,theme:e,corePlugins:t})=>{i({ring:r=>t("ringOpacity")?se({color:r,property:"--tw-ring-color",variable:"--tw-ring-...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
Back to top